Skip to content

Interest in automatically applying OpenRewrite best practices on pull requests? #189

@timtebeek

Description

@timtebeek

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions