From f597bc48352ff026b09d70fd3906c83995fd8ddb Mon Sep 17 00:00:00 2001 From: qqgu Date: Wed, 3 Jun 2026 23:55:05 +0800 Subject: [PATCH] ci: keep PR review comment checkout in sync --- .github/workflows/pr_review_plan_comment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_review_plan_comment.yml b/.github/workflows/pr_review_plan_comment.yml index e877bcbc..400f1ff1 100644 --- a/.github/workflows/pr_review_plan_comment.yml +++ b/.github/workflows/pr_review_plan_comment.yml @@ -16,7 +16,8 @@ jobs: - name: Checkout trusted base code uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.base.sha }} + # Keep the workflow and helper script versions in sync while avoiding fork code. + ref: ${{ github.event.pull_request.base.ref }} - name: Set up Python uses: actions/setup-python@v5