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 135411bfe0
commit 88bf5338c6

View File

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