diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2a101d7..6aa91fc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,14 @@ updates: update-types: - "minor" - "patch" + ignore: + # @types/node must track the runtime Node major, not the latest release. + # Pure-CDK repo: the runtime is the Node that runs `cdk synth`/`tsc` in CI. + # Dependabot can't see that and a too-new types major still compiles (passes + # CI, wrong at runtime). Sanctioned exception to the no-blanket-ignore rule + # (engineering-handbook github-standards Pinning Principle). Minor/patch flow. + - dependency-name: "@types/node" + update-types: ["version-update:semver-major"] - package-ecosystem: "github-actions" directory: "/" schedule: