Skip to content

Commit d80974d

Browse files
brandom-msftCopilot
andcommitted
fix: remove invalid members permission breaking redirect workflow
The 'members: read' permission key added in #586 is not a valid GitHub Actions permission, causing the workflow YAML to fail validation. This broke auto-closing of PRs (#587, #588). The repos.checkCollaborator API works with the default GITHUB_TOKEN repo access — no extra permission is needed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 99a8388 commit d80974d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/redirect-pull-requests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
permissions:
88
pull-requests: write
9-
members: read
109

1110
jobs:
1211
redirect:

0 commit comments

Comments
 (0)