diff --git a/.github/workflows/external-contributors.yml b/.github/workflows/external-contributors.yml index 294f8fe10af7..3682aaa88e2a 100644 --- a/.github/workflows/external-contributors.yml +++ b/.github/workflows/external-contributors.yml @@ -9,8 +9,12 @@ on: jobs: external_contributor: name: External Contributors + permissions: + pull-requests: write + contents: write runs-on: ubuntu-20.04 if: | + github.event.pull_request.merged == true && github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER'