Skip to content

Commit 7fa3ff6

Browse files
authored
Auto cancel redundant workflows (attempt #2) (#1154)
* Auto cancel redundant workflows (attempt #2) * empty commit to test
1 parent 6b0740c commit 7fa3ff6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/bench.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
os: [ubuntu-latest]
1313

1414
steps:
15+
# Cancel queued workflows from earlier commits in this branch
16+
- uses: technote-space/auto-cancel-redundant-workflow@v1
17+
1518
- uses: actions/checkout@v2
1619
- run: git fetch origin master # check the master branch for benchmarking
1720
- uses: haskell/actions/setup@v1

.github/workflows/nix.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
os: [ubuntu-latest, macOS-latest]
1313

1414
steps:
15+
# Cancel queued workflows from earlier commits in this branch
16+
- uses: technote-space/auto-cancel-redundant-workflow@v1
17+
1518
- uses: actions/checkout@v2
1619
with:
1720
submodules: true

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
ghc: "8.10.2.2" # only available for windows and choco
2626

2727
steps:
28-
# Cancel queued workflows from earlier commits in this branch
29-
- uses: fkirc/skip-duplicate-actions@master
28+
# Cancel queued workflows from earlier commits in this branch
29+
- uses: technote-space/auto-cancel-redundant-workflow@v1
3030

3131
- uses: actions/checkout@v2
3232
with:

0 commit comments

Comments
 (0)