Skip to content

Commit 3ff61ca

Browse files
committed
fix(ci): add pull-requests write permission to towncrier workflow
Needed for gh pr edit --add-label to work with GITHUB_TOKEN.
1 parent 121def4 commit 3ff61ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/towncrier.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
towncrier:
1515
name: Towncrier
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
pull-requests: write
1720
# skip if this is a bot or the PR has the skip-changelog label
1821
# note that the towncrier check command can recognize a release PR, by looking
1922
# for changes to the CHANGELOG.md file.

0 commit comments

Comments
 (0)