From bc4e3cdaa6fa7271050c8cb278421f630eb6035b Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Mon, 14 Jul 2025 20:45:58 -0700 Subject: [PATCH] [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. --- .github/workflows/size.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 2af51e8c3..d31fce4e4 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -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: |