-
Notifications
You must be signed in to change notification settings - Fork 65
Gradle wrapper validation all the time #807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle wrapper validation all the time #807
Conversation
push: | ||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we keep the paths
tho? You don't need to run if the wrapper hasn't changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, the OSSF "binary artifacts" check only goes green if it is run on every PR that is merged to main (it looks at CI runs for PRs that are merged to main and verifies that gradle wrapper validation was performed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha, feels unnecessary and wasted resources but if there's no way around it, LGTM (its a quick check anyway)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might also be some trickery (that I'm not specifically aware of) that could convince a gradle wrapper to run from a different location, so this is probably still nice to have.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tempted to reject outright with the name change from yaml
-> yml
😬 but we're already inconsistent in our use of file suffixes for workflows...... 🤷🏻
Whoops, I think merging #801 broke this. Sorry. |
yeah, the other "Java" repos are using .yml, sorry |
Yeah, well, they're wrong. 😁 Some 8x3 lifers over there..... 🤣 |
😆 |
Related to #803, this ensures that the OSSF "binary artifacts" verification for gradle wrappers passes