diff --git a/.github/workflows/api_docs.yml b/.github/workflows/api_docs.yml index ebf1741a..69b88640 100644 --- a/.github/workflows/api_docs.yml +++ b/.github/workflows/api_docs.yml @@ -37,4 +37,4 @@ jobs: git config user.email nonebot@nonebot.dev git add . git diff-index --quiet HEAD || git commit -m ":memo: update api docs" - git push + git push origin HEAD:${{github.event.pull_request.head.ref}}