diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 73e2df9..735110a 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -29,6 +29,11 @@ jobs: commit_body=$(git log -1 --pretty=format:"%b") echo "Commit Title: $commit_title" echo "Commit Body: $commit_body" + echo "作者名称: ${git log -1 --pretty=format:"%an"}" + echo "作者邮箱: ${git log -1 --pretty=format:"%ae"}" + echo "作者提交时间: ${git log -1 --pretty=format:"%ci"}" + echo "提交时长: ${git log -1 --pretty=format:"%cr"}" + echo "提交hash: ${git log -1 --pretty=format:"%H"}" - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."