From 770db9c263da0f099b17943d9ca3359c78186c28 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 2 Jul 2025 01:14:22 -0400 Subject: [PATCH] Get only patch version updates to `imara-diff` This configures Dependabot version updates to keep `imara-diff` at 0.1.*. It does not affect Dependabot security updates, nor other ways of updating besides Dependabot, nor other crate dependencies if they are unrelated to `imara-diff`. See: - https://github.blog/changelog/2021-05-21-dependabot-version-updates-can-now-ignore-major-minor-patch-releases/ - https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#ignore-- This is by the same technique as used in: https://github.com/GitoxideLabs/cargo-smart-release/commit/aeb91ee22bcd8aadd64a3261e3de2ed985c99485 See discussion in #2068 for details for why we are not upgrading `imara-diff` to 0.2 at this time. --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9946b189a3f..f54c2a3097b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,12 @@ updates: prefix: '' allow: - dependency-type: all + ignore: + # Keep imara-diff at 0.1.* for now (see comments in #2068). + - dependency-name: imara-diff + update-types: + - 'version-update:semver-major' + - 'version-update:semver-minor' groups: cargo: patterns: ['*']