Skip to content

Commit e5a0f50

Browse files
authored
Update await-fast-ci.yaml
1 parent a9f2014 commit e5a0f50

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/await-fast-ci.yaml

+5-6
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
run: python scripts/helpers/poll_quick_ci.py ${{ github.event.number }} restyled
3535
- name: Stop on Fail
3636
if: ${{ failure() }}
37-
run: |-
38-
curl \
39-
-X POST \
37+
run: |
38+
gh api \
39+
--method POST \
40+
-H "Accept: application/vnd.github+json" \
4041
-H "X-GitHub-Api-Version: 2022-11-28" \
41-
-H "Accept: application/vnd.github.v3+json" \
42-
-H "Authorization: Bearer ${{ github.token }}" \
43-
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/runs/${{ github.run_id }}/cancel"
42+
/repos/project-chip/connectedhomeip/actions/runs/RUN_ID/cancel

0 commit comments

Comments
 (0)