Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do Not Add Reviewer To Version Bump PR #680

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Do Not Add Reviewer To Version Bump PR #680

merged 1 commit into from
Jul 4, 2024

Conversation

nlordell
Copy link
Collaborator

@nlordell nlordell commented Jul 3, 2024

This PR removes the --reviewer when creating the version bump PR. The reason is that this was causing CI to fail with:

could not request reviewer: 'safe-global/safe-protocol' not found

From what I understand, this is because the automatically created GitHub token that gets injected in the GitHub actions (github.token) is scoped to the repository and does not have org access in order to "find" the team and adding to (source).

I did not catch this in my local debugging as I did not have a team to test with to add to the reviewers, so did not run into this problem.

I also took this opportunity to scope the GH_TOKEN environment variable to only the step that runs the release script, instead of all the steps.

@nlordell nlordell requested review from gjeanmart and a team as code owners July 3, 2024 18:05
@nlordell nlordell requested review from akshay-ap, mmv08 and remedcu July 3, 2024 18:05
@mmv08 mmv08 merged commit 60721ac into main Jul 4, 2024
1 check passed
@mmv08 mmv08 deleted the dont-set-reviewers branch July 4, 2024 08:53
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