diff --git a/.github/workflows/api_docs.yml b/.github/workflows/api_docs.yml index b6dab96b..ebf1741a 100644 --- a/.github/workflows/api_docs.yml +++ b/.github/workflows/api_docs.yml @@ -36,5 +36,5 @@ jobs: git config user.name nonebot git config user.email nonebot@nonebot.dev git add . - git commit -m ":memo: update api docs" + git diff-index --quiet HEAD || git commit -m ":memo: update api docs" git push