Skip to content

Commit 44139d2

Browse files
Add write permission for pull-requests
1 parent bb7b9dc commit 44139d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
paths:
55
- _data/collection-index.yml
66

7+
permissions:
8+
contents: read
9+
pull-requests: write
710

811
jobs:
912
yamllint:
@@ -19,4 +22,4 @@ jobs:
1922
yamllint_strict: true
2023
yamllint_comment: true
2124
env:
22-
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)