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

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 16:39:57 PDT 2025


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/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.

>From 477feeec801f47f384ceed6fd2e566ca0dc1913c Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 24 Apr 2025 16:19:19 -0700
Subject: [PATCH] workflows/commit-access-greeter: Add pull-request read
 permissions

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.
---
 .github/workflows/commit-access-greeter.yml | 1 +
 1 file changed, 1 insertion(+)

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'



More information about the llvm-commits mailing list