From b19de5cf7a80072c3c12e213cb49ef2c006ad8b4 Mon Sep 17 00:00:00 2001 From: plastikfan Date: Sun, 28 Apr 2024 13:59:59 +0100 Subject: [PATCH] fix(chore): checkout main branch without -b option --- .github/workflows/auto-check-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-check-workflow.yml b/.github/workflows/auto-check-workflow.yml index f9706f7..e034db2 100644 --- a/.github/workflows/auto-check-workflow.yml +++ b/.github/workflows/auto-check-workflow.yml @@ -55,7 +55,7 @@ jobs: - name: Add files and commit changes run: | - git checkout -b main + git checkout main git pull origin main git push -u origin main git add .