Skip to content

Commit

Permalink
Quote $GITHUB_HEAD_REF on release.yml (#1448)
Browse files Browse the repository at this point in the history
* Update release.yml

* Apply suggestions from code review

---------

Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com>
  • Loading branch information
h2oa and 0x2b3bfa0 committed May 9, 2024
1 parent f775f7b commit 2675110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- run: >
gh release create --target ${{
github.event.pull_request.merge_commit_sha }} {--title=CML\
,}$(basename ${{ github.head_ref }}) --generate-notes --draft
,}"$(basename "$GITHUB_HEAD_REF")" --generate-notes --draft
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
package:
Expand Down

0 comments on commit 2675110

Please sign in to comment.