Skip to content

Commit

Permalink
fixup! Cancel running builds on second push to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiasz Kędzierski committed Jun 16, 2020
1 parent 349f6f0 commit f675d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Get workflow id
run: |
WORKFLOW_ID=$(curl https://api.github.com/repos/${{ github.repository }}/actions/workflows/build_wheels.yml | jq '.id')
WORKFLOW_ID=$(curl "Authorization: token ${{ github.token }}" https://api.github.com/repos/${{ github.repository }}/actions/workflows/build_wheels.yml | jq '.id')
echo "Workflow id: ${WORKFLOW_ID}"
echo "::set-env name=WORKFLOW_ID::${WORKFLOW_ID}"
- uses: styfle/cancel-workflow-action@0.3.2
Expand Down

0 comments on commit f675d00

Please # to comment.