From 5c45d3533f0b86374ec63e66ee65ab93e1fa2ed4 Mon Sep 17 00:00:00 2001 From: houseme Date: Wed, 11 Dec 2024 15:42:36 +0800 Subject: [PATCH] fix(ci/golangci): fix golangcl-lint git push (#4032) --- .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 d1823a8be..9be6b9564 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -79,4 +79,4 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" git add . git commit -m "Apply gci import order changes" - git push \ No newline at end of file + git push origin HEAD:$(git rev-parse --abbrev-ref HEAD) \ No newline at end of file