diff --git a/.github/workflows/detection-testing.yml b/.github/workflows/detection-testing.yml index ede3855429..8ffc170936 100644 --- a/.github/workflows/detection-testing.yml +++ b/.github/workflows/detection-testing.yml @@ -66,7 +66,7 @@ jobs: REAL_BRANCH=$(git branch -a --contains $GITHUB_SHA | tail -n1 | cut -d'/' -f3) echo "REAL BRANCH NAME $REAL_BRANCH" echo "CHECKOUT CORRECT" - git checkout $REAL_BRANCH + git checkout remotes/origin/$REAL_BRANCH git branch git config user.email "research@splunk.com"