Unverified Commit 7a475d86 authored by Copilot's avatar Copilot Committed by GitHub
Browse files

Fix template injection (zizmor alert #118) in e2e-versions.yml (#1114)

* Initial plan

* Fix template injection alert #118 in e2e-versions.yml

---------

Co-authored-by: default avatarcopilot-swe-agent[bot] <[email protected]>
parent 92f9362d
Loading
Loading
Loading
Loading
+4 −2
Changes for .github/workflows/e2e-versions.yml: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -722,10 +722,12 @@ jobs:
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Verify JAVA_HOME still points to Java 17
        env:
          JAVA_17_PATH: ${{ steps.setup-java-17.outputs.path }}
        run: |
          echo "JAVA_HOME=$JAVA_HOME"
          echo "Java 17 path=${{ steps.setup-java-17.outputs.path }}"
          if [ "$JAVA_HOME" != "${{ steps.setup-java-17.outputs.path }}" ]; then
          echo "Java 17 path=$JAVA_17_PATH"
          if [ "$JAVA_HOME" != "$JAVA_17_PATH" ]; then
            echo "JAVA_HOME should still point to Java 17"
            exit 1
          fi