Skip to content

ci: add auto-tag workflow for multi-module releases#13

Merged
lIang70 merged 1 commit into
mainfrom
ci/auto-tag-and-sdkx-bump
Apr 16, 2026
Merged

ci: add auto-tag workflow for multi-module releases#13
lIang70 merged 1 commit into
mainfrom
ci/auto-tag-and-sdkx-bump

Conversation

@lIang70

@lIang70 lIang70 commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add .github/workflows/auto-tag.yml that automatically tags changed modules (plugin, sdk, sdkx) when PRs are merged to main. Tags are created in topological order (leaf modules first), and when sdk is tagged, sdkx/go.mod is automatically updated to the new version before tagging sdkx.
  • Bump sdkx sdk dependency from v0.1.4 to v0.1.5 (corresponding to the fix in fix(sdk): coerce string board vars to numeric types before JSON config parsing #12).

Workflow behavior

merge to main (paths: sdk/**, sdkx/**, plugin/**)
  │
  ├─ Phase 1: tag leaf modules (plugin, sdk) if changed
  │
  ├─ Phase 2: if sdk was tagged, update sdkx/go.mod → commit → push
  │
  └─ Phase 3: tag sdkx if changed (own changes or cascaded go.mod bump)
  • Only bumps patch version automatically; minor/major releases remain manual.
  • concurrency: cancel-in-progress: false prevents tag races on rapid merges.
  • Root module (go.mod) is intentionally excluded from auto-updates.

Test plan

  • Verify workflow YAML syntax is valid
  • Merge and confirm auto-tag runs correctly on next sdk/ or sdkx/ change

Made with Cursor

Add .github/workflows/auto-tag.yml that automatically tags changed
modules (plugin, sdk, sdkx) on merge to main. Tags are created in
topological order: leaf modules first, then dependents. When sdk is
tagged, sdkx/go.mod is updated to the new version before tagging.

Also bump sdkx sdk dependency from v0.1.4 to v0.1.5.

Made-with: Cursor
@lIang70
lIang70 merged commit 07a0386 into main Apr 16, 2026
9 checks passed
@lIang70
lIang70 deleted the ci/auto-tag-and-sdkx-bump branch April 16, 2026 06:27
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.

1 participant