Skip to content

Commit 49e7e5a

Browse files
0x46616c6bOpenCode
andcommitted
fix: add pull-requests: read permission to release workflow
The reusable release drafter workflow requests pull-requests: read internally to read PR data for generating release notes. Without this permission in the caller, the nested job is denied access. Co-Authored-By: OpenCode <noreply@opencode.ai>
1 parent c6e5805 commit 49e7e5a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
pull-requests: read
1011

1112
jobs:
1213
update_release_draft:

0 commit comments

Comments
 (0)