Skip to content

Commit fa1dcab

Browse files
committed
fix skip-duplicate-actions as suggested by oxsecurity/megalinter#622
1 parent 6029bd8 commit fa1dcab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/mega-linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
name: Cancel duplicate jobs
1616
runs-on: ubuntu-18.04
1717
steps:
18-
-
18+
- # Cancellation of previous workflow runs
1919
uses: fkirc/skip-duplicate-actions@master
2020
with:
21-
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
21+
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
22+
cancel_others: true
2223

2324
build:
2425
name: Mega-Linter

0 commit comments

Comments
 (0)