Skip to content

Commit

Permalink
ci: Upgrade cancel-workflow-action github action
Browse files Browse the repository at this point in the history
  Use latest commit `caa69a4f794f1e4b3177bfe78c96c024e7b85482`.
  Since the `access_token` option is now optional and defaults to
  `${ github.token }`, we can remove it from our workflows.
  • Loading branch information
taratatach committed Nov 28, 2022
1 parent cd02ebf commit f881361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@a7eadb6f3809d6ae84fa62ee7bd8538e289cb9a4
with:
access_token: ${{ github.token }}
- uses: styfle/cancel-workflow-action@caa69a4f794f1e4b3177bfe78c96c024e7b85482

unit:
needs: cancel
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@a7eadb6f3809d6ae84fa62ee7bd8538e289cb9a4
with:
access_token: ${{ github.token }}
- uses: styfle/cancel-workflow-action@caa69a4f794f1e4b3177bfe78c96c024e7b85482

unit:
needs: cancel
Expand Down

0 comments on commit f881361

Please sign in to comment.