From be23a5a0fdfdf7697b38e4573595b71b804ef247 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sat, 21 Dec 2024 13:54:51 +0100 Subject: [PATCH] Quote variables in temporary branch creation Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .github/workflows/versioning.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index 1bb48ea..58f0e65 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -31,8 +31,8 @@ jobs: - name: Create Temporary Branch run: | TEMP_BRANCH="temp/version-bump-$(uuidgen)" - echo "TEMP_BRANCH=$TEMP_BRANCH" >> $GITHUB_ENV - git checkout -b "$TEMP_BRANCH" + echo "TEMP_BRANCH=${TEMP_BRANCH}" >> "${GITHUB_ENV}" + git checkout -b "${TEMP_BRANCH}" - name: Bump Version run: |