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 a016bfb commit 83b41beCopy full SHA for 83b41be
.github/workflows/previews-ods-ui.yaml
@@ -45,8 +45,10 @@ jobs:
45
- name: Configure some variables
46
id: vars
47
run: |
48
+ BRANCH_NAME="${GITHUB_HEAD_REF}"
49
+ BRANCH_STANDARDIZED="${BRANCH_NAME}| tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9-]+/-/g; s/-+/-/g; s/^-+//; s/-+$//"
50
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- echo "branch=${GITHUB_HEAD_REF}" | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9-]+/-/g; s/-+/-/g; s/^-+//; s/-+$//' >> $GITHUB_OUTPUT
51
+ echo "branch=${BRANCH_STANDARDIZED}"' >> $GITHUB_OUTPUT
52
53
- name: Configure cluster context
54
0 commit comments