Skip to content

Commit c1d0d18

Browse files
committed
CCM-8585: fix GITHUB_OUTPUT format
1 parent 0b8eb22 commit c1d0d18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/actions/normalize-branch-name/action.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ runs:
99
- id: normalize_branch_name
1010
shell: bash
1111
run: |
12-
set +x
1312
branch=$(git rev-parse --abbrev-ref HEAD)
1413
stripped=$(echo $branch | sed -e 's/[^a-zA-Z0-9-]//g' | tr '[:upper:]' '[:lower:]')
1514
starting_from_jira_ref=$(echo $stripped | grep -Eo '\d{4,}.*')
1615
with_fallback=${starting_from_jira_ref:-$stripped}
1716
chopped=$(echo $with_fallback | head -c 15)
18-
echo $chopped >> $GITHUB_OUTPUT
17+
echo "normalized_branch_name=$chopped" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)