You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If [Dependabot](https://github.com/dependabot) is enabled for repository, its config should set a label compatible with [Spring Changelog Generator](https://github.com/spring-io/github-changelog-generator).
118
+
Typically, it is `type: dependency-upgrade`.
119
+
It is also a good practice to group all the development dependencies into a single pull request from Dependabot.
120
+
This includes all the Gradle and Maven plugins and those dependencies which are used only for testing in the project.
121
+
This projects provides a [spring-merge-dependabot-pr.yml](.github/workflows/spring-merge-dependabot-pr.yml) reusable workflow to make modifications to the Dependabot pull requests.
122
+
However, there are some prerequisites to use this workflow in your project:
123
+
- Pull requests must be protected by some check to pass, usually a workflow to build the project with this pull request changes;
124
+
- The [auto-merge](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository) must be enabled in the repository;
125
+
126
+
The `spring-merge-dependabot-pr` workflow does these modifications to the Dependabot pull requests:
127
+
- Modify label from `dependency-upgrade` to the `task` for the development dependencies group update to skip them from release notes by Spring Changelog Generator;
128
+
- Adds a currently scheduled milestone to the pull request against a snapshot version extracted from the target branch;
129
+
- And if milestone is scheduled, the pull request is queued for auto-merging after required checks have passed.
Gradle projects must not manage `com.jfrog.artifactory` plugin anymore: the `jf gradlec` command sets up this plugin and respective tasks into a project using JFrog specific Gradle init script.
0 commit comments