handle pull_request_target triggers

This commit is contained in:
dcvz 2024-08-01 20:48:31 +02:00
parent 409b759865
commit a09a00acf0

View file

@ -7,7 +7,7 @@ on:
jobs:
update-pr-artifacts:
runs-on: ubuntu-latest
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
if: (github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'pull_request_target') && github.event.workflow_run.conclusion == 'success'
name: Update PR Artifacts
steps:
- name: Get PR Number