Skip to content

Commit

Permalink
escape brackets in SKIP_COMMIT_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
willhickey committed Mar 15, 2024
1 parent e384b40 commit 1f9e27e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cherry-pick-from-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ echo "DEST_BRANCH: $DEST_BRANCH"
echo "BEFORE_SHA: $BEFORE_SHA"
echo "LAST_SHA: $LAST_SHA"

SKIP_COMMIT_STRING="[anza migration]"
SKIP_COMMIT_STRING="\[anza migration\]"

# TODO commenting these causes a silent failure. Make it fail loudly
git config --global user.email "[email protected]"
git config --global user.name "GHA: Update Upstream From Fork" #TODO better name
git config --global user.name "GHA: Update Upstream From Fork"
git fetch --all
echo "-------------------------"
echo "git log --oneline remotes/$DEST_REMOTE/$DEST_BRANCH:"
Expand Down

0 comments on commit 1f9e27e

Please sign in to comment.