Skip to content

Commit eecdc3b

Browse files
Create example dependabot.yml
Shows example config.
1 parent 75ee5e0 commit eecdc3b

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
############
7+
# TEMPLATE #
8+
############
9+
#version: 2
10+
#updates:
11+
# - package-ecosystem: "" # See documentation for possible values
12+
# directory: "/" # Location of package manifests
13+
# schedule:
14+
# interval: "weekly"
15+
16+
####################################################
17+
# EXAMPLES: configuration for two package managers #
18+
####################################################
19+
version: 2
20+
updates:
21+
# Configuration for Docker
22+
- package-ecosystem: "docker"
23+
# Look for a `Dockerfile` in the `root` directory
24+
directory: "/"
25+
# Check for updates once a week
26+
schedule:
27+
interval: "weekly"
28+
# Configuration for npm
29+
- package-ecosystem: "npm"
30+
directory: "/"
31+
schedule:
32+
interval: "weekly"
33+
ignore:
34+
# Ignore updates to packages that start with 'aws'
35+
# Wildcards match zero or more arbitrary characters
36+
- dependency-name: "aws*"
37+
# Ignore some updates to the 'express' package
38+
- dependency-name: "express"
39+
# Ignore only new versions for 4.x and 5.x
40+
versions: ["4.x", "5.x"]
41+
# For all packages, ignore all patch updates
42+
- dependency-name: "*"
43+
update-types: ["version-update:semver-patch"]

0 commit comments

Comments
 (0)