From b9dad49187a0aa63afc8b2969cfd71ac46ad0ba2 Mon Sep 17 00:00:00 2001 From: Dorian Burihabwa Date: Fri, 4 Jul 2025 16:12:43 +0200 Subject: [PATCH] DO NOT MERGE Modify the GH action prepare next iteration to take a JIRA ticket input --- .github/workflows/PrepareNextIteration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PrepareNextIteration.yml b/.github/workflows/PrepareNextIteration.yml index 4ca0a300b3d..4cd58597886 100644 --- a/.github/workflows/PrepareNextIteration.yml +++ b/.github/workflows/PrepareNextIteration.yml @@ -6,6 +6,9 @@ on: nextVersion: description: Version number of the next iteration required: true + ticket: + description: "JIRA ticket (ex: SONARJAVA-XXX)" + required: true jobs: Next-Iteration-Job: @@ -28,6 +31,6 @@ jobs: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git checkout -b gh-action/next-iteration mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${{ inputs.nextVersion }}" - git commit -m 'Prepare next development iteration' -a + git commit -m "${{ inputs.ticket }} Prepare next development iteration" -a git push --set-upstream origin gh-action/next-iteration gh pr create -B master --title 'Prepare next development iteration' --body ''