Skip to content

Conversation

@corbt
Copy link
Contributor

@corbt corbt commented Aug 27, 2025

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

This workflow prevents contributors from manually bumping the version
in regular PRs and provides clear instructions to use the proper
release workflow instead.

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-3249be2a-3e2b-46e4-a688-b96fc6504fd7
@corbt corbt requested a review from bradhilton August 27, 2025 02:13
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