Skip to content

chore: apply plugin version discipline#20

Merged
intel352 merged 4 commits into
masterfrom
issue-760-version-discipline
Jun 1, 2026
Merged

chore: apply plugin version discipline#20
intel352 merged 4 commits into
masterfrom
issue-760-version-discipline

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 1, 2026

Part of GoCodeAlone/workflow#760.

Changes:

  • keep committed plugin.json.version at the 0.0.0 development sentinel
  • remove the obsolete sync-plugin-version workflow when present
  • add post-build release validation so the shipped manifest is checked against the tag
  • preserve/strengthen runtime capability checks where needed

Verification:

  • wfctl plugin validate-contract .
  • wfctl plugin validate-contract --for-publish --tag v9.9.9 .
  • GOWORK=off go test ./...

Copilot AI review requested due to automatic review settings June 1, 2026 18:12
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 applies “version discipline” for the Twilio workflow plugin by keeping the repo’s plugin.json at a development sentinel version, removing the old tag-sync workflow, and adding a release-time validation to ensure the shipped manifest matches the release tag.

Changes:

  • Set committed plugin.json.version to 0.0.0 (development sentinel).
  • Remove the obsolete .github/workflows/sync-plugin-version.yml workflow.
  • Add a post-build wfctl plugin validate-contract check intended to validate the release output against the tag.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
plugin.json Sets the committed manifest version to the 0.0.0 development sentinel.
.github/workflows/sync-plugin-version.yml Removes the tag-driven PR workflow that previously synced plugin.json version.
.github/workflows/release.yml Adds a post-build validation step to check published artifacts/manifest against the tag.

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

Comment thread .github/workflows/release.yml Outdated
"${{ runner.temp }}/wfctl-bin/wfctl" plugin verify-capabilities --binary "$BIN" .
- name: Verify shipped plugin.json carries tag (post-build)
run: |
"${{ runner.temp }}/wfctl-bin/wfctl" plugin validate-contract --for-publish --tag ${{ github.ref_name }} --release-dir . .
Copilot AI review requested due to automatic review settings June 1, 2026 18:22
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/release.yml
@intel352 intel352 merged commit 3fda305 into master Jun 1, 2026
7 checks passed
@intel352 intel352 deleted the issue-760-version-discipline branch June 1, 2026 18:29
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