Skip to content

Commit ec8bc02

Browse files
committed
Defend Windows backslash path from bash escaping
1 parent 0796f6d commit ec8bc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

which-branch/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ runs:
2323
id: which-branch
2424
shell: bash
2525
run: |
26-
branch="$(python ${{ github.action_path }}/which_branch.py \
26+
branch="$(python '${{ github.action_path }}/which_branch.py' \
2727
-t "${{ inputs.token }}" -r "${{github.repository }}" "${{ github.sha }}")"
2828
echo "branch=$branch" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)