Skip to content

fix: use block release validation command#16

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

fix: use block release validation command#16
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

This PR fixes quoting/escaping issues in the GitHub Actions release workflow by switching the pre-build wfctl plugin validate-contract invocation to a block run step, while preserving safe shell-level quoting around github.ref_name.

Changes:

  • Convert the pre-build validate-contract --for-publish command from a single quoted YAML string to a run: | block.
  • Keep --tag "${{ github.ref_name }}" shell quoting to avoid tag parsing issues.

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

@intel352 intel352 merged commit 3612fc8 into main Jun 1, 2026
5 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