Skip to content

#218 - ci/feat(build,pr-build,seed-build): integrate check runs to report build status @check_runs:a92cec2ea2738c63af9f2d249f4de16b7b37d78d #70

#218 - ci/feat(build,pr-build,seed-build): integrate check runs to report build status @check_runs:a92cec2ea2738c63af9f2d249f4de16b7b37d78d

#218 - ci/feat(build,pr-build,seed-build): integrate check runs to report build status @check_runs:a92cec2ea2738c63af9f2d249f4de16b7b37d78d #70

Workflow file for this run

# _
# __| | __ _ ___
# / _` |/ _` |/ _ \
# | (_| | (_| | __/
# \__,_|\__,_|\___|
#
# Copyright (C) 2023 @daeuniverse <https://github.com/daeuniverse>
#
# This is a open-source software, liscensed under the AGPL-3.0 License.
# See /License for more information.
name: PR Build (Preview)
run-name: "#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }} @${{ github.event.pull_request.head.ref }}:${{ github.event.pull_request.head.sha }}"
on:
pull_request:
types: [ opened, synchronize, reopened ]
paths:
- "**/*.go"
- "**/*.c"
- "**/*.h"
- "go.mod"
- "go.sum"
- ".github/workflows/pr-build.yml"
- ".github/workflows/seed-build.yml"
jobs:
pre-actions:
if: ${{ github.event.pull_request.draft == false }}
uses: daeuniverse/ci-seed-jobs/.github/workflows/pre-actions.yml@master
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
check-runs: '["build", "pr-build-passed"]'
secrets: inherit
build:
needs: [pre-actions]
if: ${{ github.event.pull_request.draft == false }}
uses: daeuniverse/dae/.github/workflows/seed-build.yml@main
with:
ref: ${{ github.event.pull_request.head.sha }}
pr-number: ${{ github.event.pull_request.number }}

Check failure on line 44 in .github/workflows/pr-build.yml

View workflow run for this annotation

GitHub Actions / PR Build (Preview)

Invalid workflow file

The workflow is not valid. .github/workflows/pr-build.yml (Line: 44, Col: 18): Invalid input, pr-number is not defined in the referenced workflow. .github/workflows/pr-build.yml (Line: 45, Col: 19): Invalid input, build-type is not defined in the referenced workflow.
build-type: pr-build
secrets: inherit
post-actions:
if: always()
needs: [build]
uses: daeuniverse/ci-seed-jobs/.github/workflows/dae-post-actions.yml@master
with:
check-run-id: "dae-bot[bot]/pr-build-passed"
check-run-conclusion: ${{ needs.build.result }}
secrets: inherit