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 11name : Lint
22on : [pull_request]
33
4+ permissions :
5+ contents : read # to fetch code (actions/checkout)
6+
47jobs :
58 commitlint :
69 runs-on : ubuntu-latest
1417 env :
1518 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1619 danger :
20+ permissions :
21+ contents : read # to fetch code (actions/checkout)
22+ issues : write # to create comment
23+ pull-requests : write # to create comment
1724 runs-on : ubuntu-latest
1825 steps :
1926 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ jobs:
130130 release :
131131 permissions :
132132 contents : write # for semantic-release
133+ issues : write # to create comment
134+ pull-requests : write # to create comment
133135
134136 if :
135137 # prettier-ignore
You can’t perform that action at this time.
0 commit comments