Commit 96ab3a5
feat(ci): add version-bump workflow for Renovate PRs (#666)
## 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]
> **Low Risk**
> Low risk: adds a new GitHub Actions workflow only, gated to run on PRs
opened/updated by `utic-renovate[bot]`. Main risk is unintended
PR-branch writes (version/changelog/lockfile) if the reusable workflow
or bot identity/permissions are misconfigured.
>
> **Overview**
> Adds a new GitHub Actions workflow
(`.github/workflows/version-bump.yml`) that runs on `pull_request`
events targeting `main` and **only** for PRs opened/updated by
`utic-renovate[bot]`.
>
> The job delegates to the shared reusable workflow
`Unstructured-IO/infra/.github/workflows/version-bump.yml@main`,
configured to default to a *patch* bump and to update the changelog and
lockfile, using repo secrets/vars to authenticate and access the private
PyPI index.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4cd1dd0. 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 8555f1a commit 96ab3a5
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