Skip to content

Commit e60c851

Browse files
committed
Add dependabot configuration file
This automatically enabled Dependabot to: * Submit pull requests for security updates and version updates for Composer dependencies. * Submit pull requests for security updates and version updates for GH Action runner dependencies. For Composer dependencies, a preference is given to _widen_ the version restrictions instead of updating them to a new minimum. This is a deliberate choice as this package is a library, not an application. The configuration has been set up to: * Run once a week. * Submit a maximum of 5 pull requests at a time. If additional pull requests are needed, these will subsequently be submitted the next time Dependabot runs after one or more of the open pull requests have been merged. * The commit messages for PRs submitted by Dependabot will be prefixed according the unofficial conventions used in this repo up to now. * The PRs will automatically be labelled with an appropriate label as already in use in this repo.
1 parent 8f3a843 commit e60c851

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/dependabot.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Dependabot configuration.
2+
#
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
# Maintain dependencies for GitHub Actions.
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
open-pull-requests-limit: 5
14+
commit-message:
15+
prefix: "GH Actions:"
16+
labels:
17+
- "Type: chores/QA"
18+
19+
# Maintain dependencies for Composer.
20+
- package-ecosystem: "composer"
21+
directory: "/"
22+
schedule:
23+
interval: "weekly"
24+
open-pull-requests-limit: 5 # Set to 0 to (temporarily) disable.
25+
versioning-strategy: widen
26+
commit-message:
27+
prefix: "Composer:"
28+
labels:
29+
- "Type: chores/QA"

0 commit comments

Comments
 (0)