Skip to content

Conversation

cprecioso
Copy link
Member

@cprecioso cprecioso commented Oct 13, 2025

When pushing to release, in the merge-back automation, we check if a PR already exists. If so, the person who pushed is

  1. pinged in this PR; and
  2. added as reviewer and assignee.

This PR removes action (2). This is because the gh pr edit command needs access to organization.read, and GitHub actions can't request access to this scope (failed run log).


Note: it is weird that the CLI requests this scope, as the underlying APIs do not need it (only pull_request.write -- 1, 2). My guess is that the CLI is first checking if the string we pass it is a team name or a user name to do some intelligent handling around that, and that's why it needs the org.read scope for.

@cprecioso cprecioso requested a review from infomiho October 13, 2025 08:28
@cprecioso cprecioso self-assigned this Oct 13, 2025
Copy link
Contributor

@infomiho infomiho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, the ping is enough

@cprecioso
Copy link
Member Author

Reported the bug at the gh repo: cli/cli#11920

@cprecioso cprecioso merged commit 13b5dde into release Oct 13, 2025
3 checks passed
@cprecioso cprecioso deleted the cprecioso-patch-1 branch October 13, 2025 08:36
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