Skip to content

ci: add Release Please for automated releases#200

Open
batonogov wants to merge 4 commits intomainfrom
ci/release-please
Open

ci: add Release Please for automated releases#200
batonogov wants to merge 4 commits intomainfrom
ci/release-please

Conversation

@batonogov
Copy link
Copy Markdown
Owner

Summary

  • Add Release Please workflow for automated version bumps, changelog generation, and GitHub Releases
  • Publish workflows (docker.io Linux, Windows, ghcr.io) now trigger only on version tags (v*.*.*), removing branches: main and pull_request triggers to avoid duplicate builds
  • Add CLAUDE.md for Claude Code context

How it works

  1. PRs are merged into main using Conventional Commits (feat:, fix:, chore:, etc.)
  2. Release Please automatically creates/updates a release PR with version bump and CHANGELOG
  3. Merging the release PR creates a GitHub Release + tag v*.*.*
  4. The tag triggers Docker image build and publish workflows

Test plan

  • Merge this PR and verify Release Please creates a release PR on next push to main
  • Verify publish workflows no longer trigger on push to main (only on tags)

Replace manual GitHub Release workflow with Release Please.
Publish workflows now trigger only on tags, avoiding duplicate builds on main.
- Configure Dependabot with Conventional Commits prefixes (ci for actions, deps for docker/pip)
- Pin release-please-action to v4.4.0
- Remove unused bump-minor-pre-major option
- Fix CLAUDE.md CI section to reflect tag-only triggers
- Add pip ecosystem to Dependabot for test dependencies
@sonarqubecloud
Copy link
Copy Markdown

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