[llvm] workflows/commit-access-greeter: Add pull-request read permissions (PR #137268)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 16:40:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/137268.diff


1 Files Affected:

- (modified) .github/workflows/commit-access-greeter.yml (+1) 


``````````diff
diff --git a/.github/workflows/commit-access-greeter.yml b/.github/workflows/commit-access-greeter.yml
index ef489b4d3c9a1..a5fbbbb94e222 100644
--- a/.github/workflows/commit-access-greeter.yml
+++ b/.github/workflows/commit-access-greeter.yml
@@ -12,6 +12,7 @@ jobs:
   commit-access-greeter:
     permissions:
       issues: write
+      pull-requests: read
     if: >-
       github.repository_owner == 'llvm' &&
       github.event.label.name == 'infra:commit-access-request'

``````````

</details>


https://github.com/llvm/llvm-project/pull/137268


More information about the llvm-commits mailing list