-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
git exits with 128 in my action #183
Comments
Was running into this issue as well and believe I have found a fix. The default GITHUB_TOKEN secret for the action doesn't appear to have the permission to write to the contents of the repository. Adding the following to the top of the action below permissions:
contents: write |
Here's the doc: Adding permission in the config file works, and you can also modify the GitHub Actions settings of your repository to enable write permissions without modifying the config file. |
Thanks folks! Probably it should be added into the doc (or did I miss it?) |
Behaviour
Steps to reproduce this issue
Expected behaviour
Configuration
The text was updated successfully, but these errors were encountered: