Skip to content

Commit 33bf868

Browse files
authored
Merge pull request #51 from cohm/ci-dependabot-noise
Stop Dependabot proposing updates we can't take
2 parents 1c384ba + 0f57a6b commit 33bf868

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,36 @@ updates:
2626
# this and puppeteer-core together by hand.
2727
- dependency-name: "@sparticuz/chromium"
2828

29+
# ESLint majors are blocked upstream, not by us. `eslint-config-next`
30+
# depends on `eslint-plugin-react: ^7.37.0`, and 7.37.5 (the latest)
31+
# still declares `peerDependencies.eslint: "... || ^9.7"`. On ESLint 10
32+
# `npm run lint` dies before linting anything:
33+
# TypeError: contextOrFilename.getFilename is not a function
34+
# while loading rule 'react/display-name'
35+
# Drop this entry once eslint-plugin-react ships ESLint 10 support (and
36+
# eslint-config-next picks it up); minor/patch bumps within 9.x still
37+
# flow through the minor-and-patch group.
38+
- dependency-name: "eslint"
39+
update-types:
40+
- "version-update:semver-major"
41+
2942
- package-ecosystem: "github-actions"
3043
directory: "/"
3144
schedule:
3245
interval: "weekly"
3346
open-pull-requests-limit: 5
47+
ignore:
48+
# Every action here is pinned to a floating major tag (`@v7`, `@v4`, ...),
49+
# so patch and minor releases are picked up automatically on the next run
50+
# — a PR for them changes nothing but the diff. Worse, Dependabot reads
51+
# `@v4` as "version 4" and proposes `@v4.37.4`, which would *downgrade*
52+
# us from a self-updating tag to a hard pin and generate a PR per patch
53+
# release forever (that was #48). Majors are what need human review, and
54+
# those still come through.
55+
#
56+
# If we ever switch to full commit-SHA pinning for supply-chain
57+
# hardening, delete this block — SHA pins need every update proposed.
58+
- dependency-name: "*"
59+
update-types:
60+
- "version-update:semver-minor"
61+
- "version-update:semver-patch"

0 commit comments

Comments
 (0)