Commit 4db504d
feat(ci): add version-bump workflow for Renovate PRs (#554)
## Summary
- Adds automated version bumping for Renovate dependency update PRs
- Uses the shared reusable workflow from `Unstructured-IO/infra`
- Automatically bumps `__version__.py`, updates `CHANGELOG.md`, and
refreshes `uv.lock`
## How it works
When Renovate opens or updates a PR, this workflow:
1. Detects which components were changed
2. Parses conventional commit messages to determine bump type
(major/minor/patch)
3. Bumps the version, updates changelog, and commits back to the PR
branch
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Moderate risk because it introduces an automated workflow that can
push commits (version/changelog/lockfile updates) to PR branches and
depends on external reusable workflow behavior and secrets
configuration.
>
> **Overview**
> Adds a new GitHub Actions workflow `version-bump.yml` that runs on
`pull_request` events targeting `main` and, only for PRs opened by
`utic-renovate[bot]`, invokes the shared `Unstructured-IO/infra`
reusable workflow to automatically apply a patch version bump and update
the changelog and lockfile, committing changes back to the PR.
>
> The workflow requests `contents: write` permission and wires required
Renovate app credentials and a private PyPI index URL via repo
vars/secrets.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a427cba. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5725fa7 commit 4db504d
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments