Ensure that we are checking out the remote branch we want to modify...

This commit is contained in:
pyth0n1c
2021-08-09 10:35:01 -07:00
parent cfa3f2a5f9
commit ad2530b790
+1 -1
View File
@@ -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"