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 dcc261d commit c58a8c1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ 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
lint_files:
name: Lint files
runs-on: ubuntu-18.04
steps:
- # Git Checkout
Expand Down

0 comments on commit c58a8c1

Please sign in to comment.