Skip to content

Commit 4da9f9b

Browse files
DO NOT MERGE Modify the GH action prepare next iteration to take a JIRA
ticket input
1 parent f13e6e9 commit 4da9f9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/PrepareNextIteration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
nextVersion:
77
description: Version number of the next iteration
88
required: true
9+
ticket:
10+
description: "JIRA ticket (ex: SONARJAVA-XXX)"
11+
required: true
912

1013
jobs:
1114
Next-Iteration-Job:
@@ -28,6 +31,6 @@ jobs:
2831
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2932
git checkout -b gh-action/next-iteration
3033
mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${{ inputs.nextVersion }}"
31-
git commit -m 'Prepare next development iteration' -a
34+
git commit -m "${{ inputs.ticket }} Prepare next development iteration" -a
3235
git push --set-upstream origin gh-action/next-iteration
3336
gh pr create -B master --title 'Prepare next development iteration' --body ''

0 commit comments

Comments
 (0)