Skip to content

Commit d040d15

Browse files
aikido-autofix[bot]triceo
authored andcommitted
fix(security): autofix Template Injection in GitHub Workflows Action
1 parent 34dfafc commit d040d15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ jobs:
5353

5454
- name: Update version
5555
working-directory: ./timefold-quickstarts
56+
env:
57+
NEW_JAVA_VERSION: ${{ github.event.inputs.javaVersion }}
5658
run: |
5759
git config user.name "Timefold Release Bot"
5860
git config user.email "release@timefold.ai"
5961
git checkout -B $RELEASE_BRANCH_NAME
6062
export OLD_JAVA_VERSION="$(find . -name pom.xml -exec grep '<version.ai.timefold.solver>' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)"
61-
export NEW_JAVA_VERSION="${{ github.event.inputs.javaVersion }}"
6263
.github/scripts/change_versions.sh
6364
6465
# This step will fail if the Solver binaries aren't already on Maven Central.

0 commit comments

Comments
 (0)