fix(ci): add support for pull_request_target

This commit is contained in:
Gabe Kangas 2024-09-05 13:58:47 -07:00
parent 89a33ea4e3
commit 7cdf18de99

View file

@ -30,7 +30,7 @@ jobs:
- name: Check out pull request code
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}