From 918cf794de62bfc1d2f6affecfc9218be23f4ab6 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 17 Feb 2026 08:46:03 +0000 Subject: [PATCH] fix: update checkout step in backend job to include fetch-depth and ref for improved accuracy --- .github/workflows/quality-checks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 59507ef6..c6879684 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -33,6 +33,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + fetch-depth: 0 + ref: ${{ github.sha }} # SECURITY: Do not switch this workflow to pull_request_target for backend tests. # Untrusted code paths (fork PRs and Dependabot PRs) must never receive repository secrets.