From a938e3f11f16283965d744b0d5f63caa0804e3cc Mon Sep 17 00:00:00 2001 From: houseme Date: Fri, 20 Dec 2024 20:07:06 +0800 Subject: [PATCH] fix --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 272ba9efb3d..d1717b4a1cc 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -137,7 +137,7 @@ jobs: if [[ "${{ github.event_name }}" == "push" ]]; then git push origin HEAD:$(git rev-parse --abbrev-ref HEAD) else - git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:${{ github.event.pull_request.head.ref }} + git push origin HEAD:${{ github.event.pull_request.head.ref }} fi # git push origin HEAD:$(git rev-parse --abbrev-ref HEAD) # git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:$(git rev-parse --abbrev-ref HEAD) \ No newline at end of file