Skip to content

fix: use block release validation command#18

Merged
intel352 merged 1 commit into
mainfrom
issue-760-release-yaml-fix
Jun 1, 2026
Merged

fix: use block release validation command#18
intel352 merged 1 commit into
mainfrom
issue-760-release-yaml-fix

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 1, 2026

Follow-up for GoCodeAlone/workflow#760.

Fixes the release workflow YAML quoting introduced while hardening tag handling:

  • converts the pre-build validate-contract command to a block run step
  • keeps the shell-level quotes around github.ref_name

Verification:

  • git diff --check

Copilot AI review requested due to automatic review settings June 1, 2026 18:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a YAML quoting issue in the release workflow by converting the pre-build validate-contract step into a block-scalar run: command, which avoids the nested-quote parsing problem from the prior single-line form.

Changes:

  • Convert the validate-contract step's run: from a quoted single-line string into a run: | block.
  • Preserve shell-level quoting around ${{ github.ref_name }} and the wfctl binary path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@intel352 intel352 merged commit 93599cb into main Jun 1, 2026
4 checks passed
@intel352 intel352 deleted the issue-760-release-yaml-fix branch June 1, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants