From ac23f729d4dae78b8f50e8f27b2ef780c61e2d8c Mon Sep 17 00:00:00 2001 From: Bruno Domingues Date: Wed, 21 Oct 2026 00:35:07 -0300 Subject: [PATCH] chore(ci): add version-bump.yml, decoupled from deploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New workflow bumps pyproject.toml's version on PR merge, calling the shared reusable-version-bump.yml (SIENTIAPDE-2217 version-bump reform) — zero build/image/chart/deploy side effects. deploy.yml (workflow_dispatch- only) will read this committed value instead of calculating one. [skip ci] --- .github/workflows/version-bump.yml | 14 ++++++++++++++ 1 file changed, 14 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 0000000..29abd1c --- /dev/null +++ b/.github/workflows/version-bump.yml @@ -0,0 +1,14 @@ +name: Version Bump + +on: + pull_request: + types: [closed] + branches: [main, 'release/**', 'feature/**'] + +jobs: + bump: + if: github.event.pull_request.merged == true + uses: Aignosi/github_workflow_templates/.github/workflows/reusable-version-bump.yml@main + with: + update_version_in: '["pyproject"]' + secrets: inherit