Skip to content

Commit ef35396

Browse files
committed
ci: fix GitHub Actions expression syntax in release-on-main workflow
The dry-run summary step used double quotes ("") in the if-expression, which GitHub Actions expression parser does not support. Replace with single quotes to match all other conditions in the workflow. Validated with yaml-lint and actionlint (no errors, only shellcheck style hints).
1 parent e472a1b commit ef35396

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-on-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
echo "Reason: ${{ steps.decide.outputs.reason }}" >> "$GITHUB_STEP_SUMMARY"
269269
270270
- name: Dry-run release summary
271-
if: steps.bump.outputs.tag != "" && steps.dryrun.outputs.enabled == "true"
271+
if: steps.bump.outputs.tag != '' && steps.dryrun.outputs.enabled == 'true'
272272
run: |
273273
echo "## Dry run: no release published" >> "$GITHUB_STEP_SUMMARY"
274274
echo "Decision: ${{ steps.decide.outputs.decision }}" >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)