Skip to content

Commit 0ab6683

Browse files
committed
updated cancel
1 parent eea9097 commit 0ab6683

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/cancel.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: Cancel
22
on: [push]
3+
34
jobs:
45
cancel:
5-
name: 'Cancel Previous Runs'
6+
name: "Cancel previous runs"
67
runs-on: ubuntu-latest
7-
timeout-minutes: 3
8+
permissions:
9+
actions: write
810
steps:
9-
- uses: styfle/cancel-workflow-action@0.8.0
11+
- name: Cancel Previous Runs
12+
uses: styfle/cancel-workflow-action@0.9.1
1013
with:
11-
all_but_latest: true
1214
access_token: ${{ github.token }}

0 commit comments

Comments
 (0)