diff --git a/.github/workflows/pr-check-merge.yml b/.github/workflows/pr-check-merge.yml index 01c6c15db1..7eae404c5b 100644 --- a/.github/workflows/pr-check-merge.yml +++ b/.github/workflows/pr-check-merge.yml @@ -7,7 +7,7 @@ on: jobs: comment: runs-on: ubuntu-latest - if: github.event.pull_request.head.ref == 'feature' || github.event.pull_request.head.ref == 'master' + if: (github.event.pull_request.head.ref == 'feature' || github.event.pull_request.head.ref == 'master') && github.event.pull_request.head.user.login == 'ant-design' steps: - uses: actions-cool/issues-helper@v2.2.1 with: