Skip to content

Commit d4f45a9

Browse files
authored
fix(ci): adding the permission for actions to write comments in PRs
1 parent 748c557 commit d4f45a9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
- '.gitignore'
2121
pull_request:
2222

23+
permissions:
24+
pull-requests: write # Required for commenting on pull requests
25+
2326
concurrency:
2427
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2528
cancel-in-progress: true

.github/workflows/static_analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Static analysis
33
on:
44
pull_request:
55

6+
permissions:
7+
pull-requests: write # Required for commenting on pull requests
8+
69
concurrency:
710
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
811
cancel-in-progress: true

0 commit comments

Comments
 (0)