diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 17af2383c061..2db856e631a6 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -9,8 +9,8 @@ on: jobs: CLA: runs-on: ubuntu-latest - # This job only runs for pull request comments - if: ${{ github.event.issue.pull_request }} + # This job only runs for pull request comments or pull request target events (not issue comments) + if: github.event.issue.pull_request || github.event_name == 'pull_request_target' steps: - uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73 id: sign