diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce0bd41e..f5a87286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" git checkout -b temp-branch git commit -am "Automatic code formatting" - git push origin temp-branch:${GITHUB_REF#refs/heads/} + git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} temp-branch:${GITHUB_REF#refs/heads/} exit 1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}