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