Skip to content

Commit

Permalink
fix skip-duplicate-actions as suggested by oxsecurity/megalinter#622
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Sep 1, 2021
1 parent 6029bd8 commit fa1dcab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ jobs:
name: Cancel duplicate jobs
runs-on: ubuntu-18.04
steps:
-
- # Cancellation of previous workflow runs
uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
cancel_others: true

build:
name: Mega-Linter
Expand Down

0 comments on commit fa1dcab

Please sign in to comment.