mirror of
https://github.com/chefyuan/algorithm-base.git
synced 2025-08-02 14:01:34 +00:00
判断是否commit
This commit is contained in:
2
.github/workflows/restructure_files.yml
vendored
2
.github/workflows/restructure_files.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git commit -am "代码重构 【Github Actions】"
|
||||
git diff-index --quiet HEAD -- || git commit -am "代码重构 【Github Actions】"
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
|
Reference in New Issue
Block a user