Ekryd / sortpom

Maven plugin that helps the user sort pom.xml.
https://github.com/Ekryd/sortpom/wiki/
BSD 3-Clause "New" or "Revised" License
334 stars 178 forks source link

Merge automatic pull requests automatically #254

Closed Ekryd closed 1 year ago

Ekryd commented 1 year ago

Sortpom tends to get a lot of automatic PRs from the dependabot, and 98% can be merged automatically. The junit tests are trusted, so if they pass the PR is safe to merge.

Just let the PRs that pass the build be merged automatically

mccartney commented 1 year ago

I have no experience with this particular action, but it seems like: https://github.com/marketplace/actions/dependabot-auto-merge would do the job.

Ekryd commented 1 year ago

I tried that one before, but could not get it to work. Do you know if any other repository is successfully using this?

ppkarwasz commented 1 year ago

If you use Github Actions, you can use dependabot/fetch-metadata followed by a call to gh.

Check logging-log4j-tools for an example.

Ekryd commented 1 year ago

Thanks for the tip, I’ll check it out

Ekryd commented 1 year ago

I made an implementation in https://github.com/Ekryd/echo-maven-plugin. Lets see how it works 🥳 Then I'll do the same here

Ekryd commented 1 year ago

Worked like a charm. Let's see if it is just as effective here