Skip to content

Commit

Permalink
Add missing permissions which is needed for skip duplicate actions
Browse files Browse the repository at this point in the history
cancel others pre job.
  • Loading branch information
Kami committed Sep 8, 2022
1 parent eb39e98 commit 61ee387
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- cron: '0 3 * * *'

permissions:
actions: write # Needed for skip-duplicate-jobs job
contents: read # for actions/checkout to fetch code

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/depsreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ trunk ]

permissions:
actions: write # Needed for skip-duplicate-jobs job
contents: read

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- cron: '0 1 * * *'

permissions:
actions: write # Needed for skip-duplicate-jobs job
contents: read

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- cron: '0 1 * * *'

permissions:
actions: write # Needed for skip-duplicate-jobs job
contents: read

jobs:
Expand Down

0 comments on commit 61ee387

Please sign in to comment.