palantir / palantir-java-format

A modern, lambda-friendly, 120 character Java formatter.
Apache License 2.0
427 stars 46 forks source link

Run Gradle Wrapper validation on PR events #887

Closed fawind closed 1 year ago

fawind commented 1 year ago

Before this PR

We don't have the "approve workflow run" button available and are unable to run the Gradle validation action on forks (docs).

It might be, that the workflow is only triggered on push but not on pull_request, so there is no workflow event for the PR.

After this PR

Following the setup docs here: https://github.com/gradle/wrapper-validation-action

==COMMIT_MSG== Run Gradle Wrapper validation on PR events ==COMMIT_MSG==

Possible downsides?