Skip to content

Commit 853670f

Browse files
authored
chore: update dependabot version ignores (coder#478)
* Open pull requests for major version updates for GitHub Actions * Ignore version updates for Node.js types
1 parent 6060445 commit 853670f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/dependabot.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ updates:
99
commit-message:
1010
prefix: "chore"
1111
ignore:
12-
# These actions deliver the latest versions by updating the
13-
# major release tag, so handle updates manually
12+
# These actions deliver the latest versions by updating the major
13+
# release tag, so ignore minor and patch versions
1414
- dependency-name: "actions/*"
15+
update-types:
16+
- version-update:semver-minor
17+
- version-update:semver-patch
1518
- dependency-name: "marocchino/sticky-pull-request-comment"
19+
update-types:
20+
- version-update:semver-minor
21+
- version-update:semver-patch
1622

1723
- package-ecosystem: "npm"
1824
directory: "/"
@@ -21,7 +27,10 @@ updates:
2127
time: "06:00"
2228
timezone: "America/Chicago"
2329
ignore:
30+
# Ignore major updates to Node.js types, because they need to
31+
# correspond to the Node.js engine version
2432
- dependency-name: "@types/node"
25-
versions: ["15.x", "14.x", "13.x"]
33+
update-types:
34+
- version-update:semver-major
2635
commit-message:
2736
prefix: "chore"

0 commit comments

Comments
 (0)