Skip to content

Add workflows for version bump checks and release management#69

Merged
74th merged 1 commit into
developfrom
feat/release-action
May 10, 2026
Merged

Add workflows for version bump checks and release management#69
74th merged 1 commit into
developfrom
feat/release-action

Conversation

@74th
Copy link
Copy Markdown
Owner

@74th 74th commented May 10, 2026

This pull request introduces two new GitHub Actions workflows to automate version bump checks and releases for the main and test branches. These workflows help enforce versioning best practices and streamline the release process by automatically checking for required version updates and creating tags and GitHub releases as needed.

New GitHub Actions workflows:

Version bump enforcement:

  • Adds .github/workflows/check-version-bump-for-main-pr.yml to ensure that any pull request from develop to main or test includes a version bump in pyproject.toml. If the version is not updated, the workflow fails and provides an error message.

Automated release process:

  • Adds .github/workflows/release-on-main.yml to automatically create a new Git tag and GitHub Release when changes are pushed to main or test. The workflow reads the version from pyproject.toml, checks for existing tags/releases, and generates release notes if a new release is needed.

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 adds GitHub Actions automation to enforce version bumps when merging develop into main/test, and to publish tags + GitHub Releases automatically on pushes to main/test based on the version in pyproject.toml.

Changes:

  • Add a PR workflow that fails develop -> main|test PRs unless pyproject.toml’s [project].version changes.
  • Add a push workflow that reads [project].version, creates a corresponding Git tag if missing, and creates a GitHub Release (with generated notes) if missing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/check-version-bump-for-main-pr.yml Enforces a version bump in pyproject.toml for develop PRs targeting main/test.
.github/workflows/release-on-main.yml Automates tag + GitHub Release creation on pushes to main/test using the version in pyproject.toml.

@74th 74th merged commit eaa9537 into develop May 10, 2026
4 checks passed
@74th 74th deleted the feat/release-action branch May 10, 2026 07:49
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