diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index f684c47..488fff0 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -9,7 +9,7 @@ jobs: - name: Get all workflow ids and set to env variable run: echo ::set-env name=WORKFLOW_IDS_TO_CANCEL::$(curl https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/workflows -s | jq -r '.workflows | map(.id|tostring) | join(",")') - - uses: styfle/cancel-workflow-action@0.11.0 + - uses: styfle/cancel-workflow-action@0.12.0 with: workflow_id: ${{ env.WORKFLOW_IDS_TO_CANCEL }} access_token: ${{ secrets.GITHUB_TOKEN }}