From eabf9bb7d43b63d30ca2338b19b0888e9ace4b5c Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Wed, 16 Jul 2025 20:55:58 +0200 Subject: [PATCH] Update ai_pr_title_review.yml --- .github/workflows/ai_pr_title_review.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ai_pr_title_review.yml b/.github/workflows/ai_pr_title_review.yml index 6612e2966..9dc4ebefa 100644 --- a/.github/workflows/ai_pr_title_review.yml +++ b/.github/workflows/ai_pr_title_review.yml @@ -22,7 +22,11 @@ jobs: with: egress-policy: audit - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: ${{ github.event.pull_request.base.ref }} + fetch-depth: 1 - name: Configure Git to suppress detached HEAD warning run: git config --global advice.detachedHead false