Skip to content

Commit

Permalink
Simplify pull request checks
Browse files Browse the repository at this point in the history
Add a job to the end of the pull_request workflow that depends on the build jobs, and can be used as a single job to check pull request success. This avoids the need to change the branch protection PR checks when changes are made to the build process.

Signed-off-by: Mark S. Lewis <[email protected]>
(cherry picked from commit 0ebb1cb)
  • Loading branch information
bestbeforetoday committed Jan 19, 2023
1 parent 9eb8f30 commit 68696fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ concurrency:
jobs:
build:
uses: ./.github/workflows/test.yml

pull-request:
needs: build
name: Pull request success
runs-on: ubuntu-latest
steps:
- run: true

0 comments on commit 68696fd

Please sign in to comment.