Skip to content
Merged
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
6 changes: 5 additions & 1 deletion .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down
Loading