Skip to content

fix: use block release validation command#13

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

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

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

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:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes YAML/shell quoting in the release workflow by converting the pre-build wfctl plugin validate-contract invocation into a block run step while preserving shell-level quoting around github.ref_name.

Changes:

  • Replace the single-line run: string (which had broken nested quoting) with a multi-line run: | block for the pre-build contract validation step.
  • Keep "${{ github.ref_name }}" quoted at the shell level to preserve hardening against tag edge cases.

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

@intel352 intel352 merged commit 6428f75 into master Jun 1, 2026
6 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