-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add permissions required to README.md #64
Conversation
I didn't know it was needed. Were did you configure this setting? |
It was failing for me (at least on private repos) with an authorization error without it. It was all configured in the name: Foo
on:
push:
pull_request:
jobs:
run-job:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- ... |
I found an explanation at: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs You are probably using a "restricted" I think we should explain when it's needed and why it's needed. As far as I understand, it's only needed when using a "restricted" Do you have the authorization error message? It might also help others to troubleshoot if we copy/paste the error message next to the solution. Thanks! |
I don't know why I have a restricted access Anyhow, I have included the information you requested. Feel free to rearrange the information as you wish. |
@francorbacho That's great, thank you! I made tiny updates. Thanks again for taking the time to help others 🤗 |
This was pretty confusing to me, and it looks like obvious information to provide to new users.