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

Gotcha for new repos #214

Closed
rbren opened this issue Feb 21, 2023 · 2 comments
Closed

Gotcha for new repos #214

rbren opened this issue Feb 21, 2023 · 2 comments

Comments

@rbren
Copy link

rbren commented Feb 21, 2023

For this action to work, it seems you need to change some settings under Repo -> Settings -> GitHub Actions

This might be a new setting, as I haven't seen it documented here or in similar plugins. Might want to add this to the README.
Screenshot 2023-02-20 at 9 55 30 PM

@pascalgn
Copy link
Owner

That would be possible, but I think the better way would be to use https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

I believe adding

permissions:
  contents: write

to the example workflows in the README should be enough...

@pascalgn
Copy link
Owner

I've updated the README, so I think this is fixed now.

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

No branches or pull requests

2 participants