Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quote $GITHUB_HEAD_REF on release.yml #1448

Merged
merged 2 commits into from
May 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- env:
HEAD_REF: ${{ github.head_ref }}
- run: >
0x2b3bfa0 marked this conversation as resolved.
Show resolved Hide resolved
gh release create --target ${{
github.event.pull_request.merge_commit_sha }} {--title=CML\
,}$(basename ${{ github.head_ref }}) --generate-notes --draft
,}$(basename $HEAD_REF) --generate-notes --draft
0x2b3bfa0 marked this conversation as resolved.
Show resolved Hide resolved
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
package:
Expand Down