Skip to content

workflows/commit-access-greeter: Add pull-request read permissions #137268

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

tstellar
Copy link
Collaborator

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 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.
@llvmbot
Copy link
Member

llvmbot commented Apr 24, 2025

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

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 --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'

Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@tstellar tstellar merged commit e28616a into llvm:main Apr 25, 2025
11 checks passed
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…lvm#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.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…lvm#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.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…lvm#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.
Ankur-0429 pushed a commit to Ankur-0429/llvm-project that referenced this pull request May 9, 2025
…lvm#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants