Skip to content

Commit a0f2505

Browse files
committed
Allow auto-draft-pr to write
1 parent 4dd9fdb commit a0f2505

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/auto-draft-pr.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
name: Convert PRs to Draft on Opening
2222

23+
permissions:
24+
contents: write
25+
2326
on:
2427
pull_request:
2528
types: [opened]
@@ -31,4 +34,4 @@ jobs:
3134
- run: gh pr ready --undo ${{ github.event.pull_request.number }}
3235
env:
3336
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
GH_REPO: ${{ github.repository }}
37+
GH_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)