ART icon indicating copy to clipboard operation
ART copied to clipboard

Add GitHub Action to prevent manual version bumps in PRs

Open corbt opened this issue 4 months ago • 0 comments

This PR adds a GitHub Action workflow that prevents contributors from manually bumping the version in regular pull requests.

What it does:

  • ✅ Runs on PRs that modify pyproject.toml
  • ✅ Skips release PRs (branches starting with release/)
  • ✅ Fails with clear instructions if version was manually changed
  • ✅ Guides contributors to use the proper release workflow

Benefits:

  • Enforces consistent release process
  • Prevents accidental version conflicts
  • Educates contributors on proper release workflow
  • Reduces maintenance overhead

The workflow provides clear instructions to use:

gh workflow run create-draft-release.yml --field version_type=patch

Or the GitHub Actions web interface at: https://github.com/OpenPipe/ART/actions/workflows/create-draft-release.yml

corbt avatar Aug 27 '25 01:08 corbt