diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index bbcc5246c08..cccfe7a5456 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -5,7 +5,7 @@ name: Greet First-Time Contributors on: - pull_request: + pull_request_target: types: - opened issues: @@ -21,7 +21,7 @@ permissions: jobs: greeting: name: Greet First-Time Contributors - if: github.event_name == 'issues' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) + if: github.event_name == 'issues' || (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) runs-on: ubuntu-slim steps: