Skip to content

Commit 770db9c

Browse files
committed
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: GitoxideLabs/cargo-smart-release@aeb91ee See discussion in #2068 for details for why we are not upgrading `imara-diff` to 0.2 at this time.
1 parent 8007f1d commit 770db9c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ updates:
99
prefix: ''
1010
allow:
1111
- dependency-type: all
12+
ignore:
13+
# Keep imara-diff at 0.1.* for now (see comments in #2068).
14+
- dependency-name: imara-diff
15+
update-types:
16+
- 'version-update:semver-major'
17+
- 'version-update:semver-minor'
1218
groups:
1319
cargo:
1420
patterns: ['*']

0 commit comments

Comments
 (0)