-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[main] Grant GitHub actions explicit permissions #38420
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,11 @@ on: | |
# Once per day at midnight PST (8 UTC) | ||
- cron: '0 8 * * *' | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
As far as we know, that's right. See discussion in dotnet/runtime#61626. I'm imitating that plus dotnet/runtime#61637 in this PR. |
||
pull-requests: write | ||
|
||
jobs: | ||
compare_repos: | ||
# Comment out this line to test the scripts in a fork | ||
|
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.
Need
issues
permission to write comments into the original PR (where a user started this workflow)