新增 GitHub Actions 工作流以输出最近5次提交日志
Some checks are pending
/ test-timezone (push) Waiting to run
/ docker-run (push) Successful in -5s
/ Cache-Java-Test (push) Successful in -5s
/ opt_hostedtoolcache (push) Successful in -32s
/ job2 (push) Successful in -32s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -32s
/ hashFiles (push) Successful in -32s
/ go-hashfiles (push) Successful in 29s
Some checks are pending
/ test-timezone (push) Waiting to run
/ docker-run (push) Successful in -5s
/ Cache-Java-Test (push) Successful in -5s
/ opt_hostedtoolcache (push) Successful in -32s
/ job2 (push) Successful in -32s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -32s
/ hashFiles (push) Successful in -32s
/ go-hashfiles (push) Successful in 29s
This commit is contained in:
11
.github/workflows/git-log.yaml
vendored
Normal file
11
.github/workflows/git-log.yaml
vendored
Normal file
@ -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"
|
Reference in New Issue
Block a user