From 5bc54e1cba523fe7c3929b1c367ccfd7dc96ead0 Mon Sep 17 00:00:00 2001 From: chadcarlson Date: Fri, 27 Oct 2023 13:07:08 -0400 Subject: [PATCH] Clean up, don't reinit. --- .github/workflows/project.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/project.yaml b/.github/workflows/project.yaml index 7e4d6df6..196543fe 100644 --- a/.github/workflows/project.yaml +++ b/.github/workflows/project.yaml @@ -97,13 +97,16 @@ jobs: echo "::notice::Verifying local repo." ls -a cd $TEST_PROJECT_LOCALDIR + git config --global user.email "$TEST_USER_EMAIL" git config --global user.name "$TEST_USER_NAME" - git init - git add . - git commit -m "Init commit." - git branch -M $TEST_PROJECT_DEFAULT_BRANCH - git branch + + # git init + # git add . + # git commit -m "Init commit." + + # git branch -M $TEST_PROJECT_DEFAULT_BRANCH + # git branch # git checkout ${{ github.event.pull_request.head.sha }} # echo "::notice::Switching to branch ${{ env.TEST_PROJECT_DEFAULT_BRANCH }}" # git switch -C $TEST_PROJECT_DEFAULT_BRANCH