diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index bde99ccd..eb3d2daf 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -2,7 +2,7 @@ name: "CLA Assistant" on: issue_comment: types: [created, edited] - pull_request_target: + pull_request: types: [opened,closed,synchronize] jobs: @@ -31,9 +31,9 @@ jobs: echo "::add-mask::$ALL_MEMBERS" echo "org_members=$ALL_MEMBERS" >> $GITHUB_OUTPUT - + - name: "CLA Assistant" - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request' uses: contributor-assistant/github-action@v2.2.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}