Skip to content

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

Merged
gaborcsardi merged 1 commit intor-lib:v2-branchfrom
thisisnic:styler-write-permissions
Feb 27, 2024
Merged

Give GITHUB_TOKEN permission to write during style action "Commit and push changes" step#775
gaborcsardi merged 1 commit intor-lib:v2-branchfrom
thisisnic:styler-write-permissions

Conversation

@thisisnic
Copy link
Copy Markdown
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
Copy Markdown
Member

Thanks!

@github-actions
Copy link
Copy Markdown

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