Skip to content

Commit 4aa3d8f

Browse files
authored
docs: add permissions to instructions
1 parent 0d749a1 commit 4aa3d8f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Create a github workflow in the `.github` folder, e.g. `.github/workflows/commit
1010
name: Lint Commit Messages
1111
on: [pull_request]
1212

13+
permissions:
14+
contents: read
15+
pull-requests: read
16+
1317
jobs:
1418
commitlint:
1519
runs-on: ubuntu-latest
@@ -130,6 +134,10 @@ In order to do so, you can use `NODE_PATH` env var to make the action take those
130134
name: Lint Commit Messages
131135
on: [pull_request]
132136
137+
permissions:
138+
contents: read
139+
pull-requests: read
140+
133141
jobs:
134142
commitlint:
135143
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)