Skip to content

Commit

Permalink
Update await-fast-ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kliao-csa committed Jun 28, 2024
1 parent df64951 commit 3800706
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/await-fast-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
run: python scripts/helpers/poll_quick_ci.py ${{ github.event.number }} restyled
- name: Stop on Fail
if: ${{ failure() }}
run: |-
curl \
-X POST \
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer ${{ github.token }}" \
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/runs/${{ github.run_id }}/cancel"
/repos/project-chip/connectedhomeip/actions/runs/RUN_ID/cancel

0 comments on commit 3800706

Please sign in to comment.