Skip to content

ci: automate conventional-commit releases - #111

Closed
dcarp wants to merge 7 commits into
modular:mainfrom
dcarp:auto-release
Closed

dcarp wants to merge 7 commits into
modular:mainfrom
dcarp:auto-release

Conversation

@dcarp

@dcarp dcarp commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Depends on #110. View only this PR’s changes.

Adds automatic release tagging inspired by rules-template, reusing the release and BCR publishing workflows from #110.

  • Check daily at 15:00 UTC, allowing roughly two weeks between scheduled releases. Manual runs bypass the cooldown.
  • Derive patch and minor versions from Conventional Commits while preserving unprefixed tags. Major versions require manual release.
  • Invoke the existing release workflow after creating a new tag, including API documentation, attestations, and BCR publishing.
  • Run only on upstream main, with serialized automatic release runs.

Validated with Actionlint and the real versioner binary against temporary local Git remotes. Tests cover version increments, no-change commits, existing tags, cooldown boundaries, and pushing only the intended tag. Actual publishing has not been run.

@dcarp
dcarp marked this pull request as ready for review October 31, 2026 11:52
@dcarp

dcarp commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@Ahajha , and the next PR in case you also want automatic release for rules_mojo.

@dcarp
dcarp requested review from a team and Ahajha as code owners November 8, 2026 12:40
@dcarp dcarp closed this Nov 8, 2026
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