We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a46fa2 commit 34bf7d2Copy full SHA for 34bf7d2
.github/actions/get-branch/action.yml
@@ -23,7 +23,7 @@ runs:
23
id: get-branch
24
run: |
25
# Use HEAD_REF for PRs, fallback to REF_NAME for pushes.
26
- BRANCH_NAME_RAW="${HEAD_REF:-$REF_NAME}"
+ BRANCH_NAME_RAW="${HEAD_REF:-"$REF_NAME"}"
27
# Clean up the ref by removing 'refs/heads/' or 'refs/tags/'
28
BRANCH_NAME="${BRANCH_NAME_RAW#refs/heads/}"
29
BRANCH_NAME="${BRANCH_NAME#refs/tags/}"
0 commit comments