Skip to content

Commit 4df6608

Browse files
baogorekclaude
andcommitted
Trim whitespace from promote workflow inputs
Prevents trailing spaces in branch/version from failing git clone. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 76342ae commit 4df6608

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/local_area_promote.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Promote staged files to production
3939
run: |
40-
VERSION="${{ github.event.inputs.version }}"
41-
BRANCH="${{ github.event.inputs.branch }}"
40+
VERSION=$(echo "${{ github.event.inputs.version }}" | xargs)
41+
BRANCH=$(echo "${{ github.event.inputs.branch }}" | xargs)
4242
echo "Promoting version ${VERSION} from branch ${BRANCH}"
4343
modal run modal_app/local_area.py::main_promote --version="${VERSION}" --branch="${BRANCH}"

0 commit comments

Comments
 (0)