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

Give GITHUB_TOKEN permission to write during style action "Commit and push changes" step #775

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

thisisnic
Copy link
Contributor

@thisisnic thisisnic commented Oct 31, 2023

As mentioned in #774, the style action fails on the "Commit and push changes" for repositories in which the GITHUB_TOKEN has default permissions (these defaults were updated in Feb 2023), as they don't allow changes to be pushed back to the branch. This PR gives the GITHUB_TOKEN permission to write to the repo. A similar change was made in #719.

@gaborcsardi gaborcsardi force-pushed the v2-branch branch 6 times, most recently from 835f496 to 890cb24 Compare February 27, 2024 10:58
@gaborcsardi
Copy link
Member

Thanks!

@gaborcsardi gaborcsardi merged commit 809e265 into r-lib:v2-branch Feb 27, 2024
22 checks passed
Copy link

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants