新增 GitHub Actions 工作流以输出最近5次提交日志
This commit is contained in:
1 parent
1333c87c2b
commit
b76ff4f3fc
1 file changed
+11
@@ -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