[F] Try to fix github actions

pull/32/head
Hykilpikonna 2022-11-16 02:32:02 -05:00
parent a805b5fef8
commit 21d5714af0
No known key found for this signature in database
GPG Key ID: 256CD01A41D7FA26
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ jobs:
git log git log
python3 scripts/convert_zh.py python3 scripts/convert_zh.py
# If the hash is the only thing that's changed, don't commit
if [["$(git diff --numstat | wc -l)" == "1"]]
git reset hard
fi
- uses: EndBug/add-and-commit@v7 - uses: EndBug/add-and-commit@v7
with: with:
default_author: github_actions default_author: github_actions