We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 265bc68 commit cbc2738Copy full SHA for cbc2738
.github/workflows/release-dry-run.yml
@@ -62,7 +62,7 @@ jobs:
62
# Unset the `GITHUB_ACTIONS` environment variable to trick semantic-release into thinking it's not running in a CI environment,
63
# as `--no-ci` alone is insufficient.
64
#
65
- # Use `--branches '${{ github.head_ref }}'` to consider the PR head ref (source branch) as a release one for the dry run.
+ # Use `--branches "${GITHUB_HEAD_REF}"` to consider the PR head ref (source branch) as a release one for the dry run.
66
run: |
67
unset GITHUB_ACTIONS
68
- npx --no-install semantic-release --dry-run --no-ci --branches '${{ github.head_ref }}'
+ npx --no-install semantic-release --dry-run --no-ci --branches "${GITHUB_HEAD_REF}"
0 commit comments