From 56952f527a59d5046d5d306238eaa016df60a7ca Mon Sep 17 00:00:00 2001 From: luisleo526 Date: Wed, 7 Oct 2026 15:10:45 +0800 Subject: [PATCH] ci: fetch full history for reference pytest --- .github/workflows/gate.yml | 1 + .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/gate.yml b/.github/workflows/gate.yml index 2989e72..698c132 100644 --- a/.github/workflows/gate.yml +++ b/.github/workflows/gate.yml @@ -118,6 +118,7 @@ jobs: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 with: ref: ${{ github.event.pull_request.head.sha || github.sha }} + fetch-depth: 0 persist-credentials: false - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31356e3..c430086 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,6 +78,7 @@ jobs: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 with: ref: ${{ github.sha }} + fetch-depth: 0 persist-credentials: false - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 with: