Skip to content

Commit 6fa117b

Browse files
committed
CCM-8585: logging
1 parent c1d0d18 commit 6fa117b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ runs:
1111
run: |
1212
branch=$(git rev-parse --abbrev-ref HEAD)
1313
stripped=$(echo $branch | sed -e 's/[^a-zA-Z0-9-]//g' | tr '[:upper:]' '[:lower:]')
14+
echo $stripped
1415
starting_from_jira_ref=$(echo $stripped | grep -Eo '\d{4,}.*')
16+
echo $starting_from_jira_ref
1517
with_fallback=${starting_from_jira_ref:-$stripped}
1618
chopped=$(echo $with_fallback | head -c 15)
1719
echo "normalized_branch_name=$chopped" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)