From eca9b0ba4677a19bb7e1f9128264193f5f66a222 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Mon, 10 Mar 2025 21:15:24 +0100 Subject: [PATCH] Update move-to-main-repo.yaml --- .github/workflows/move-to-main-repo.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 287208e..8a7741e 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -83,18 +83,13 @@ jobs: commit_message="Add script files for $script_name" - - git checkout -b "$branch_name" - - git status - - git checkout origin/main ct/$script_name.sh - git checkout origin/main install/$script_name-install.sh - git checkout origin/main json/$script_name.json + + git add ct/$script_name.sh + git add origin/main install/$script_name-install.sh + git add origin/main json/$script_name.json - git add . git commit -m "$commit_message" git status