Skip to content

Commit 2675110

Browse files
h2oa0x2b3bfa0
andauthored
Quote $GITHUB_HEAD_REF on release.yml (#1448)
* Update release.yml * Apply suggestions from code review --------- Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com>
1 parent f775f7b commit 2675110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- run: >
3434
gh release create --target ${{
3535
github.event.pull_request.merge_commit_sha }} {--title=CML\
36-
,}$(basename ${{ github.head_ref }}) --generate-notes --draft
36+
,}"$(basename "$GITHUB_HEAD_REF")" --generate-notes --draft
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
3939
package:

0 commit comments

Comments
 (0)