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