From cb5b013b44ecbffc385119a2da00252cc565f077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 1 Sep 2025 12:44:52 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BC=98=E5=8C=96=20GitHub=20Actions=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=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 - 添加 Logging 步骤,输出更多调试信息 - 打印 GitHub Event 的 JSON 数据 - 输出最新提交的 Commit 信息 --- .github/workflows/GitHub上下文.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/GitHub上下文.yaml b/.github/workflows/GitHub上下文.yaml index eceb076..de617eb 100644 --- a/.github/workflows/GitHub上下文.yaml +++ b/.github/workflows/GitHub上下文.yaml @@ -22,4 +22,9 @@ jobs: echo "仓库完整名称: ${{ github.event.repository.full_name }}" echo "仓库Clone URL: ${{ github.event.repository.clone_url }}" echo "仓库SSH URL: ${{ github.event.repository.ssh_url }}" - echo "仓库Git URL: ${{ github.event.repository.git_url }}" \ No newline at end of file + echo "仓库Git URL: ${{ github.event.repository.git_url }}" + - name: Logging + run: | + echo "${{toJSON(github.event)}}" + echo "${{ github.event.head_commit.message }}" + echo "---"