标题测试
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 17s Details

提交详细信息
This commit is contained in:
xiehaijun 2025-07-26 14:56:50 +00:00
parent 51637f1360
commit bb7a9f3004
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ jobs:
if: github.event_name == 'push'
run: |
echo "提交的信息: ${{ github.event.head_commit.message }}"
commit_title=$(git log -1 --pretty=format:"%s")
commit_body=$(git log -1 --pretty=format:"%b")
echo "Commit Title: $commit_title"
echo "Commit Body: $commit_body"
- 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 }}."