From b76ff4f3fccc57bb410d1f554df550fbe88200d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 21 Feb 2025 16:14:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20GitHub=20Actions=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=BB=A5=E8=BE=93=E5=87=BA=E6=9C=80?= =?UTF-8?q?=E8=BF=915=E6=AC=A1=E6=8F=90=E4=BA=A4=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/git-log.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/git-log.yaml diff --git a/.github/workflows/git-log.yaml b/.github/workflows/git-log.yaml new file mode 100644 index 0000000..e7a2bf6 --- /dev/null +++ b/.github/workflows/git-log.yaml @@ -0,0 +1,11 @@ +on: + push: +jobs: + docker-run: + runs-on: ubuntu-latest + steps: + - name: 📥 检出代码 + uses: actions/checkout@main + - name: 📝 最近5次提交日志 + run: | + git log -5 --pretty=format:"%h - %an, %ar : %s" \ No newline at end of file