Skip to content

Commit

Permalink
Add basic build special case logic to label removal (#53594)
Browse files Browse the repository at this point in the history
The general case logic was overriding the basic build success
  • Loading branch information
kevingranade authored Dec 19, 2021
1 parent 258f905 commit a2b3905
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit a2b3905

Please sign in to comment.