Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 94b3812

Browse files
authored
[CI] Don't tag PRs on companion job cancels (#6470)
1 parent 8329dbd commit 94b3812

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/polkadot-companion-labels.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Monitor the status of the gitlab-check-companion-build job
12-
uses: s3krit/await-status-action@4528ebbdf6e29bbec77c41caad1b2dec148ba894
12+
uses: s3krit/await-status-action@v1.0.1
1313
id: 'check-companion-status'
1414
with:
1515
authToken: ${{ secrets.GITHUB_TOKEN }}
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
contexts: 'continuous-integration/gitlab-check-polkadot-companion-build'
1818
timeout: 1800
1919
notPresentTimeout: 3600 # It can take quite a while before the job starts...
20+
failedStates: failure
21+
interruptedStates: error # Error = job was probably cancelled. We don't want to label the PR in that case
2022
- name: Label success
2123
uses: andymckay/labeler@master
2224
if: steps.check-companion-status.outputs.result == 'success'

0 commit comments

Comments
 (0)