fix: add access token to cancel-workflow-action (#36)
The cancel-workflow-action requires an access_token to query and cancel running workflows. Without it, the action fails with 'Cannot read properties of undefined' error when trying to access workflow information. Reviewed-on: graham/towerops-web#36
This commit is contained in:
parent
41bde69711
commit
dcf2a2500f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,4 +17,4 @@ jobs:
|
|||
uses: https://github.com/styfle/cancel-workflow-action@0.12.1
|
||||
with:
|
||||
workflow_id: pr-tests.yaml
|
||||
all_but_latest: false
|
||||
access_token: ${{ github.token }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue