Here is an example https://github.com/pavelfomin/spring-boot-rest-example/pull/42/changes. It uses this simple shared workflow https://github.com/pavelfomin/shared-workflows/blob/main/.github/workflows/dependabot-automerge.yml.
Here is the auto merged dependabot PR: pavelfomin/spring-boot-rest-example#52
And you can see some other dependabot PRs created but not merged because of the build failures: https://github.com/pavelfomin/spring-boot-rest-example/pulls
Notes:
- The repo must have the auto merge feature enabled obviously
- The tests quality (including Spring Boot integration tests) will determine the success rate