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

Specify required permissions in README #164

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

danepowell
Copy link
Contributor

I attempted to implement this action and was stymied by the following error:

Unexpected error fetching GitHub release for tag refs/tags/1.14.0: HttpError: Resource not accessible by integration

Our org had Actions repo access set to read-only. Even knowing that, it wasn't clear what permissions were required to actually fix the actions. Experiments reveal probably just contents: write. I'm a little surprised, I would have expected packages: write as well?

Downstream issue where we encountered this problem: acquia/cli#654
Previous issue, where this should have been documented more visibly: #96

@icemac
Copy link

icemac commented Sep 27, 2021

This helped me a lot, I'd like to see it in the documentation.


```yaml
permissions:
contents: write
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take your word for it but I haven't verified this myself

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tested it and can confirm that it fixed the "Resource not accessible by integration" for me. 👍

@softprops softprops merged commit a801399 into softprops:master Sep 27, 2021
@softprops
Copy link
Owner

thanks fo rthe pull @danepowell

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.

4 participants