mirror of
https://gh.wpcy.net/https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2026-04-24 23:58:18 +08:00
This commit makes the following change to the Dependabot config:
* It introduces a "group".
By default Dependabot raises individual PRs for each update. Now, it will group updates to new minor or patch release for all action runners into a single PR.
Updates to new major releases of action runners will still be raised as individual PRs.
Refs:
* https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates
* https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
23 lines
591 B
YAML
23 lines
591 B
YAML
# Dependabot configuration.
|
|
#
|
|
# Please see the documentation for all configuration options:
|
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
|
|
version: 2
|
|
updates:
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
time: "09:00"
|
|
open-pull-requests-limit: 5
|
|
commit-message:
|
|
prefix: "GH Actions:"
|
|
labels:
|
|
- "Type: Chores/Cleanup"
|
|
groups:
|
|
action-runners:
|
|
applies-to: version-updates
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|