更新 GitHub Actions 工作流以自定义提交日志输出格式
This commit is contained in:
4
.github/workflows/git-log.yaml
vendored
4
.github/workflows/git-log.yaml
vendored
@@ -6,6 +6,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 📥 检出代码
|
- name: 📥 检出代码
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
- name: 📝 最近5次提交日志
|
- name: 📝 提交日志
|
||||||
run: |
|
run: |
|
||||||
git --no-pager log -5 --oneline
|
git --no-pager log -5 --oneline --pretty=format:"%h - %an, %ar : %s"
|
Reference in New Issue
Block a user