Skip to content

Commit 05645f0

Browse files
authoredOct 25, 2021
chore: Fix automerge action permissions
1 parent 2ee793c commit 05645f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎.github/workflows/automerge.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Automerge
22

3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
37
on:
48
pull_request:
59
types: [opened, synchronize, labeled, reopened]
@@ -15,4 +19,4 @@ jobs:
1519
gh pr review --approve "$PR_URL"
1620
env:
1721
PR_URL: ${{ github.event.pull_request.html_url }}
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)