Skip to content

Commit 0dbc1d5

Browse files
authored
[16.2.x][cd] Ensure release can be triggered on old branches (#94598)
1 parent 90e3c81 commit 0dbc1d5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/trigger_release.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
owner: ${{ github.repository_owner }}
6363
repositories: next.js
6464
permission-contents: write
65+
# Even though this permission may seem optional, it's required for
66+
# creating refs on branches that have diverged a lot from the default
67+
# branch. This is not documented but was confirmed by GitHub support.
68+
permission-workflows: write
6569

6670
- name: Get GitHub App user ID
6771
id: release-app-user

0 commit comments

Comments
 (0)