-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi all! I was wondering if you'd be interested in having some best practices automatically applied to pull requests here. We added these friendly nudges to our own repositories a while ago, and they've really helped standardize our contributions. In practice what you'd get is one additional workflow run per PR, which comments code suggestions if it finds changes when applying best practices here.
You can see an example of such a comment here:
The full list of best practices are described here.
- https://docs.openrewrite.org/recipes/recipes/openrewritebestpractices
- https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml
An example of what this would look like for a Maven project like this one is here.
A more detailed write up of what we've done and why can be found here.
I hope that's of use to you here; I'd be happy to open a PR if you'd indeed be open to adopting this practice.