From a427cba0deb7e1360ceca54726e77532bdedcc2f Mon Sep 17 00:00:00 2001 From: Lawrence Elitzer Date: Fri, 20 Mar 2026 16:28:14 -0500 Subject: [PATCH] feat(ci): add version-bump workflow for Renovate PRs Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/version-bump.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/version-bump.yml diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml new file mode 100644 index 00000000..c5549b87 --- /dev/null +++ b/.github/workflows/version-bump.yml @@ -0,0 +1,25 @@ +name: Version Bump + +on: + pull_request: + branches: [main] + types: [opened, synchronize, reopened] + +permissions: + contents: write + pull-requests: read + +jobs: + version-bump: + if: github.event.pull_request.user.login == 'utic-renovate[bot]' + uses: Unstructured-IO/infra/.github/workflows/version-bump.yml@main + with: + component-paths: '["."]' + default-bump: patch + update-changelog: true + update-lockfile: true + renovate-app-id: ${{ vars.RENOVATE_APP_ID }} + secrets: + token: ${{ secrets.GITHUB_TOKEN }} + private-pypi-url: ${{ secrets.PRIVATE_PYPI_INDEX_URL }} + renovate-app-private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}