From 68696fd0048d3e70a186ce7e7e30293f969346dd Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Thu, 19 Jan 2023 11:02:46 +0000 Subject: [PATCH] Simplify pull request checks 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 (cherry picked from commit 0ebb1cb46bbef227cdcb32fdcd00c9eaabcbe613) --- .github/workflows/pull_request.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9c3d71b1..3d8e0fdc 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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