Skip to content

Commit 6797be9

Browse files
committed
GH-704 - Temporarily disable clean branch checks.
1 parent 0008185 commit 6797be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/backport-ticket.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ done
4444
echo -e "\nChecking the state of the current branch"
4545

4646
isDefaultBranch || _exit 1 "Current branch is not the default branch"
47-
isCleanBranch || _exit 1 "Current branch is not clean"
47+
# isCleanBranch || _exit 1 "Current branch is not clean"
4848
# 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
4949

5050
sourceGh=$(getGHCode "$number")
@@ -77,7 +77,7 @@ do
7777
echo -e "\nChecking out target branch"
7878

7979
git checkout $targetBranch
80-
isCleanBranch || _exit 1 "Current branch is not clean"
80+
# isCleanBranch || _exit 1 "Current branch is not clean"
8181
# 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
8282

8383
targetGh=""

0 commit comments

Comments
 (0)