-
Notifications
You must be signed in to change notification settings - Fork 0
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 section and integration job #110
Conversation
41e1744
to
5e7e851
Compare
|
||
integration: | ||
runs-on: ubuntu-latest | ||
permissions: {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This job should fail when an action using this template does anything more than checkout a repo (which works, incidentally, with no permissions, because it is a public repo).
Please remove me from all these non-megarepo things. I have no further need for this information. |
Corey and Pat, it was a pleasure working with you both btw! |
Likewise @xave. I believe you getting notified of things you're not participating in is a you-side setting: |
Adds a section in the README and an
integration
job to the CI workflow to motivate future uses of this template to specify the minimal permissions required to run the action. This is good to have when workflows are triggered by Dependabot or are otherwise run in repositories with less permissive defaults for workflow runs.See also: freckle/commenter-action#401