From 30a1ef7e2a2a22e12e1f52045742b4e2eaf2401c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 21 Feb 2025 16:20:20 +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=B0=86=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=AD=A5=E9=AA=A4=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9A=84=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/git-log.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/git-log.yaml b/.github/workflows/git-log.yaml index c62f007..5fd13f4 100644 --- a/.github/workflows/git-log.yaml +++ b/.github/workflows/git-log.yaml @@ -1,11 +1,13 @@ on: push: jobs: - docker-run: + git-log: runs-on: ubuntu-latest steps: - name: 📥 检出代码 uses: actions/checkout@main + - 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