Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/PrepareNextIteration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 ''