From a2b3905db69b688cfe2c9d3fe4578ab6dfc81e1c Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Sun, 19 Dec 2021 12:34:06 -0800 Subject: [PATCH] Add basic build special case logic to label removal (#53594) The general case logic was overriding the basic build success --- .github/workflows/test_labeler.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_labeler.yml b/.github/workflows/test_labeler.yml index 23809c203af24..00471bf223274 100644 --- a/.github/workflows/test_labeler.yml +++ b/.github/workflows/test_labeler.yml @@ -53,7 +53,8 @@ jobs: labels: ['${{ steps.setLabel.outputs.label }}'] }) - name: remove-label - if: ${{ github.event.workflow_run.conclusion == 'failure' }} + if: ${{ github.event.workflow_run.conclusion == 'failure' && steps.set-basic-build-success.outputs.basic-build-success != 'true' }} + uses: actions/github-script@v5 }} uses: actions/github-script@v5 with: script: |