From 877b219bcf860f25eea3520c786f33e79f2fa047 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Tue, 22 Mar 2022 16:52:37 -0700 Subject: [PATCH] Update required status check (#5659) * Update required status check * Keep name for now --- .github/workflows/pr.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 86ccb4dea0..f2db97e8e8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -76,10 +76,11 @@ jobs: runs-on: ubuntu-latest if: always() steps: - # run this action to get workflow conclusion - # You can get conclusion by env (env.WORKFLOW_CONCLUSION) - - uses: technote-space/workflow-conclusion-action@v2.2 - - - name: Fail build - if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure - run: exit 1 \ No newline at end of file + - if: | + needs.build.result != 'success' || + needs.test.result != 'success' || + needs.smoke-test.result != 'success' || + needs.muzzle.result != 'success' || + needs.examples.result != 'success' || + needs.markdown-misspell-check.result != 'success' + run: exit 1