Skip to content

Commit 9348785

Browse files
committed
Update permissions for release workflow
1 parent 1f06a5e commit 9348785

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
published_packages: ${{ steps.changesets.outputs.publishedPackages }}
2323
published: ${{ steps.changesets.outputs.published }}
2424
permissions:
25+
contents: write # enable pushing changes to the origin
2526
id-token: write # enable generation of an ID token for publishing
27+
pull-requests: write # enable opening a PR for the release
2628
steps:
2729
- name: ⬇️ Checkout repo
2830
uses: actions/checkout@v4
@@ -99,4 +101,7 @@ jobs:
99101
name: 📝 Comment on related issues and pull requests
100102
if: github.repository == 'remix-run/react-router' && github.ref_name != 'release-v6' && needs.find_package_version.outputs.package_version != ''
101103
needs: [release, find_package_version]
104+
permissions:
105+
issues: write # enable commenting on released issues
106+
pull-requests: write # enable commenting on released pull requests
102107
uses: ./.github/workflows/release-comments.yml

0 commit comments

Comments
 (0)