Skip to content

Commit a7027aa

Browse files
authored
Merge pull request #207 from PHPCSStandards/feature/enable-and-configure-dependabot
Add dependabot configuration file
2 parents 1a457ec + cbdac19 commit a7027aa

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/dependabot.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Dependabot configuration.
2+
#
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "composer"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
open-pull-requests-limit: 5 # Set to 0 to (temporarily) disable.
13+
versioning-strategy: widen
14+
allow:
15+
# Only allow updates to the dev dependencies as non-dev dependency
16+
# updates will generally need code changes in this package.
17+
- dependency-type: "development"
18+
ignore:
19+
# A new PHPUnit major will generally require a managed update,
20+
# so do not allow automated PRs.
21+
- dependency-name: "yoast/phpunit-polyfills"
22+
update-types: ["version-update:semver-major"]
23+
commit-message:
24+
prefix: "Composer:"
25+
include: "scope"
26+
labels:
27+
- "builds / deploys / releases"
28+
29+
- package-ecosystem: "github-actions"
30+
directory: "/"
31+
schedule:
32+
interval: "weekly"
33+
open-pull-requests-limit: 5
34+
commit-message:
35+
prefix: "GH Actions:"
36+
labels:
37+
- "builds / deploys / releases"

0 commit comments

Comments
 (0)