From c839fd5ab3d1f55a3a453d2adf323a0b6bfb43b7 Mon Sep 17 00:00:00 2001 From: Wilson Freitas Date: Wed, 12 Aug 2026 19:37:04 -0300 Subject: [PATCH] fix stale PR review checkout --- .github/workflows/pr-review.yml | 2 +- tests/test_pr_review_workflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 8b76ed1..f388a14 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.base.sha }} + ref: ${{ github.event.pull_request.base.ref }} fetch-depth: 1 persist-credentials: false - uses: astral-sh/setup-uv@v6 diff --git a/tests/test_pr_review_workflow.py b/tests/test_pr_review_workflow.py index bb3cfe6..d691fef 100644 --- a/tests/test_pr_review_workflow.py +++ b/tests/test_pr_review_workflow.py @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.base.sha }} + ref: ${{ github.event.pull_request.base.ref }} fetch-depth: 1 persist-credentials: false - uses: astral-sh/setup-uv@v6