File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Lint
2
2
on : [pull_request]
3
3
4
+ permissions :
5
+ contents : read # to fetch code (actions/checkout)
6
+
4
7
jobs :
5
8
commitlint :
6
9
runs-on : ubuntu-latest
14
17
env :
15
18
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16
19
danger :
20
+ permissions :
21
+ contents : read # to fetch code (actions/checkout)
22
+ issues : write # to create comment
23
+ pull-requests : write # to create comment
17
24
runs-on : ubuntu-latest
18
25
steps :
19
26
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ jobs:
130
130
release :
131
131
permissions :
132
132
contents : write # for semantic-release
133
+ issues : write # to create comment
134
+ pull-requests : write # to create comment
133
135
134
136
if :
135
137
# prettier-ignore
You can’t perform that action at this time.
0 commit comments