Restrict label bot to external PRs (#13263)

This commit is contained in:
Ian Bassi
2026-04-17 19:03:32 -03:00
committed by GitHub
parent 51589035e0
commit 84011e232e

View File

@@ -16,7 +16,7 @@ permissions:
jobs: jobs:
request-label: 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: permissions:
contents: read contents: read
pull-requests: write pull-requests: write