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 af64754 commit ee18689Copy full SHA for ee18689
action.yaml
@@ -52,7 +52,7 @@ runs:
52
- name: Get url friendly branch name
53
shell: bash
54
run: |
55
- url=$(sed -E 's#refs/[^\/]*/##;s/[^a-zA-Z0-9_]+/-/g;s/-+/-/g;s/^-*//;s/-*$//' <<<"${GITHUB_HEAD_REF}")
+ url=$(sed -E 's#refs/[^\/]*/##;s/[^a-zA-Z0-9]+/-/g;s/-+/-/g;s/^-*//;s/-*$//' <<<"${GITHUB_HEAD_REF}")
56
tolower=${url,,}
57
reduce=$(echo $tolower | cut -c -20)
58
echo "BRANCH_URL=$(echo ${reduce%-})" >> $GITHUB_ENV
0 commit comments