GH-704 - Temporarily disable clean branch checks.

This commit is contained in:
Oliver Drotbohm
2024-12-11 17:32:47 +01:00
parent 00081853e9
commit 6797be91de

View File

@@ -44,7 +44,7 @@ done
echo -e "\nChecking the state of the current branch"
isDefaultBranch || _exit 1 "Current branch is not the default branch"
isCleanBranch || _exit 1 "Current branch is not clean"
# isCleanBranch || _exit 1 "Current branch is not clean"
# To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main
sourceGh=$(getGHCode "$number")
@@ -77,7 +77,7 @@ do
echo -e "\nChecking out target branch"
git checkout $targetBranch
isCleanBranch || _exit 1 "Current branch is not clean"
# isCleanBranch || _exit 1 "Current branch is not clean"
# To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main
targetGh=""