Wait for Gradle wrapper validation before Scorecard - #1242
Closed
opentelemetrybot wants to merge 1 commit into
Closed
Wait for Gradle wrapper validation before Scorecard#1242opentelemetrybot wants to merge 1 commit into
opentelemetrybot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the OSSF Scorecard GitHub Actions workflow to reliably wait for the repository’s Gradle wrapper validation workflow run (for the same commit SHA) to complete successfully before invoking the reusable Scorecard workflow, preventing intermittent wrapper JAR artifacts from being observed during Scorecard execution.
Changes:
- Added a
wait-for-gradle-wrapper-validationjob that polls GitHub Actions for a successfulgradle-wrapper-validation.ymlrun matching the currentgithub.sha. - Made the
analysis(Scorecard) job depend on the new wait job vianeeds, preserving the existing Scorecard reusable workflow invocation and notification behavior.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wait for the Gradle wrapper validation push run at the exact commit before invoking the reusable OSSF Scorecard workflow. This prevents the validated wrapper JAR from appearing intermittently as a binary artifact while preserving the existing Scorecard workflow, schedule, publication, filtering, and failure notification. Qualified on run 31199311175.