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.
2 parents f59e9bd + 23c9f1a commit acf42a9Copy full SHA for acf42a9
.github/workflows/mcad-CI.yml
@@ -19,7 +19,8 @@ jobs:
19
20
- name: Set latest tag and Branch name
21
run: |
22
- echo "GIT_BRANCH=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
+ BRANCH=${{ github.event.pull_request.head.ref }}
23
+ echo "GIT_BRANCH=$(echo "$BRANCH" | sed 's/[^A-Za-z0-9._-]/-/g' )" >> $GITHUB_ENV
24
echo "TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
25
26
- name: Set up Go
0 commit comments