-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[main] Grant GitHub actions explicit permissions #38420
[main] Grant GitHub actions explicit permissions #38420
Conversation
@@ -3,6 +3,11 @@ on: | |||
issue_comment: | |||
types: [created] | |||
|
|||
permissions: | |||
contents: write | |||
issues: write |
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)
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
Need issues
permission to update #18943 when we're out-of-sync
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.
What does contents
control? Branches?
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.
What does
contents
control? Branches?
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.
- like dotnet#38420 but remove `runtime-sync` action
- like #38420 but remove `runtime-sync` action
No description provided.