Skip to content

fix: remove invalid permission breaking redirect workflow#589

Merged
brandom-msft merged 1 commit intomainfrom
fix/redirect-remove-invalid-permission
Mar 10, 2026
Merged

fix: remove invalid permission breaking redirect workflow#589
brandom-msft merged 1 commit intomainfrom
fix/redirect-remove-invalid-permission

Conversation

@brandom-msft
Copy link
Member

Problem

PR #586 added members: read to the workflow permissions block, but this is not a valid GitHub Actions permission key. This causes the workflow YAML to fail validation, completely breaking the redirect automation. PRs #587 and #588 were not auto-closed as a result.

Fix

Remove the invalid members: read permission. The repos.checkCollaborator API (Signal 2 in the cascading check) works with the default GITHUB_TOKEN repo access — no extra permission key is needed.

This is urgent — merge ASAP to restore PR redirect automation.

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>
@brandom-msft brandom-msft merged commit bbaba52 into main Mar 10, 2026
6 checks passed
@brandom-msft brandom-msft deleted the fix/redirect-remove-invalid-permission branch March 10, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants