workflows/commit-access-greeter: Add pull-request read permissions (#137268)
This is now needed in order to list the pull requests for a user. I'm not sure what changed but this didn't used to be necessary.
This commit is contained in:
1
.github/workflows/commit-access-greeter.yml
vendored
1
.github/workflows/commit-access-greeter.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
|||||||
commit-access-greeter:
|
commit-access-greeter:
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
pull-requests: read
|
||||||
if: >-
|
if: >-
|
||||||
github.repository_owner == 'llvm' &&
|
github.repository_owner == 'llvm' &&
|
||||||
github.event.label.name == 'infra:commit-access-request'
|
github.event.label.name == 'infra:commit-access-request'
|
||||||
|
|||||||
Reference in New Issue
Block a user