[check-size] use pull_request_target event to trigger post report (#11722)

This commit changes the workflow trigger event from `pull_request` to
`pull_request_target` so to match the event type that triggers the
`check-size` workflow.
This commit is contained in:
Abtin Keshavarzian
2025-07-14 20:45:58 -07:00
committed by GitHub
parent f4e239e651
commit bc4e3cdaa6
+1 -1
View File
@@ -62,7 +62,7 @@ jobs:
cat /tmp/ot-size-report/report_pr >> $GITHUB_STEP_SUMMARY
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
name: Post Report
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request_target' }}
id: post-report
with:
script: |