From 64d4a6ab0aca0c579dda3389719bed11f17231ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 21 Feb 2025 16:21:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20GitHub=20Actions=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA=E7=9A=84=E6=B7=B1?= =?UTF-8?q?=E5=BA=A6=E5=92=8C=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/git-log.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/git-log.yaml b/.github/workflows/git-log.yaml index 5fd13f4..f2a797c 100644 --- a/.github/workflows/git-log.yaml +++ b/.github/workflows/git-log.yaml @@ -6,8 +6,13 @@ jobs: steps: - name: 📥 检出代码 uses: actions/checkout@main + with: + fetch-depth: 5 - name: 📝 提交日志 run: git --no-pager log -5 --oneline - name: 📝 提交日志 run: | - git --no-pager log -5 --oneline --pretty=format:"%h - %an, %ar : %s" \ No newline at end of file + git --no-pager log -5 --oneline --pretty=format:"%h - %an, %ar : %s" + - name: 📝 提交日志 + run: | + git --no-pager log -5 --pretty=format:"%h - %an, %ar : %s" \ No newline at end of file