diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 70ca6302..923b3f57 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -468,6 +468,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} + - uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '17' - uses: pre-commit/action@v3.0.1 review_secrets: @@ -2933,7 +2937,7 @@ jobs: # GS Scorecard: must have run for PRs to main (result doesn't matter, but skipped = blocked) GS_RESULT=$(echo "$NEEDS" | jq -r '.["run-gs-scorecard"].result') if [[ "${{ github.event_name }}" == "pull_request" ]] && [[ "${{ github.base_ref }}" == "main" ]] && [[ "$GS_RESULT" == "skipped" ]]; then - echo "::error::GS Scorecard is required for PRs to main. Add the 'execute_gs_scorecard' label and re-run the workflow." + echo "::error::GS Scorecard is required for merging PRs to main. To unblock merging please add the 'execute_gs_scorecard' label and re-run the workflow." echo "## GS Scorecard Required" >> "$GITHUB_STEP_SUMMARY" echo "Add the \`execute_gs_scorecard\` label to this PR and re-run the workflow. GS Scorecard must complete before merging to main (result does not need to pass)." >> "$GITHUB_STEP_SUMMARY" echo "run-publish=false" >> "$GITHUB_OUTPUT"