From 84011e232e6110f86fb1d6dca11d47ccaa9f9a4f Mon Sep 17 00:00:00 2001 From: Ian Bassi Date: Fri, 17 Apr 2026 19:03:32 -0300 Subject: [PATCH] Restrict label bot to external PRs (#13263) --- .github/workflows/pr-label-bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-label-bot.yml b/.github/workflows/pr-label-bot.yml index d3afa15551..bbe1ac3472 100644 --- a/.github/workflows/pr-label-bot.yml +++ b/.github/workflows/pr-label-bot.yml @@ -16,7 +16,7 @@ permissions: jobs: request-label: - if: github.event_name == 'pull_request_target' + if: github.event_name == 'pull_request_target' && github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'MEMBER' permissions: contents: read pull-requests: write