Skip to content

Commit 13e710d

Browse files
JAVASE-151 Prevent script injection S7630 (#45)
1 parent 8d4c2f5 commit 13e710d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/PrepareNextIteration.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ jobs:
2323
- name: Update Version Number
2424
env:
2525
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
NEXT_VERSION: ${{ inputs.nextVersion }}
2627
run: |
2728
git config user.name "${GITHUB_ACTOR}"
2829
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2930
git checkout -b gh-action/next-iteration
30-
mvn versions:set --batch-mode -DgenerateBackupPoms=false -DnewVersion="${{ inputs.nextVersion }}"
31+
mvn versions:set --batch-mode -DgenerateBackupPoms=false -DnewVersion="${NEXT_VERSION}"
3132
git commit -m 'Prepare next development iteration' -a
3233
git push --set-upstream origin gh-action/next-iteration
3334
gh pr create -B master --title 'Prepare next development iteration' --body ''

0 commit comments

Comments
 (0)