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:
Graham McIntire 2026-03-15 18:39:25 -05:00 committed by graham
parent 41bde69711
commit dcf2a2500f

View file

@ -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 }}