Commit 610020a
feat(ci): add version-bump workflow for Renovate PRs (#66)
## Summary
- Adds automated version bumping for Renovate dependency update PRs
- Uses the shared reusable workflow from `Unstructured-IO/infra`
- Automatically bumps version in `pyproject.toml`, 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**
> Medium risk because it introduces an automated workflow with
`contents: write` that can push commits to PR branches; misconfiguration
could cause unintended version/changelog updates.
>
> **Overview**
> Introduces a new `version-bump` GitHub Actions workflow that runs on
`pull_request` events targeting `main`, but only when the PR author is
`utic-renovate[bot]`.
>
> The job delegates to the reusable workflow in `Unstructured-IO/infra`,
configured to default to a patch bump and to automatically update the
changelog and lockfile, using repository secrets/vars for Renovate app
credentials and a token with write access to contents.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
541a644. 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 6948427 commit 610020a
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