Skip to content

ci: auto-update bonita-process-model version on new release - #283

Open
imad-Attar wants to merge 1 commit into
devfrom
chore/auto-update-process-model-version
Open

ci: auto-update bonita-process-model version on new release#283
imad-Attar wants to merge 1 commit into
devfrom
chore/auto-update-process-model-version

Conversation

@imad-Attar

@imad-Attar imad-Attar commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • New workflow update-process-model-version.yml listening to repository_dispatch: new-process-model-release sent by bonita-process-model.
  • For each branch (dev, develop, support/*) currently consuming the same MAJOR.MINOR line, opens a PR bumping <bonita-process-model.version> in parent/pom.xml.
  • Pre-releases (-*, *SNAPSHOT*) are skipped.

Context

One release of bonita-process-model can be consumed by several branches of this repository. Rather than relying on a static mapping, the workflow discovers matching branches dynamically by reading the current <bonita-process-model.version> property on each branch and matching on MAJOR.MINOR. Minor/major bumps remain manual (safer for breaking changes).

Requirements

  • BONITA_CI_PAT and KSM_CONFIG secrets (already in place for the UID update workflow).
  • PAT must have contents: write + pull-requests: write.

@imad-Attar imad-Attar closed this Apr 28, 2026
@imad-Attar
imad-Attar force-pushed the chore/auto-update-process-model-version branch from 0567549 to 3541aba Compare April 28, 2026 08:31
@imad-Attar imad-Attar reopened this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant