From a1f3b6cb4e155112ca09559374ccea6ef510ff78 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 30 Sep 2026 09:52:51 +0200 Subject: [PATCH] Stop Dependabot from proposing astyle bumps astyle is deliberately pinned at 3.4.13 because newer versions reformat unrelated lines and this version defines the formatting that check_amalgamation.yml enforces. Without an ignore rule, Dependabot keeps opening PRs for every new astyle release (most recently #4580, #4942, #5445, #5448), each of which fails the amalgamation check and gets closed unmerged. Part of #5715 Signed-off-by: Niels Lohmann --- .github/dependabot.yml | 4 ++++ tools/astyle/requirements.txt | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ef1432591..4bf8f8782 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -24,6 +24,10 @@ updates: interval: daily cooldown: default-days: 7 + ignore: + # astyle is deliberately pinned (see tools/astyle/requirements.txt): newer versions + # reformat the code, and the pinned version defines the formatting CI enforces + - dependency-name: astyle - package-ecosystem: pip directory: /tools/generate_natvis diff --git a/tools/astyle/requirements.txt b/tools/astyle/requirements.txt index 99458a860..cfa98d67e 100644 --- a/tools/astyle/requirements.txt +++ b/tools/astyle/requirements.txt @@ -1 +1,4 @@ +# astyle is deliberately pinned: newer versions reformat the code, and this version +# defines the formatting that `make amalgamate` produces and check_amalgamation.yml enforces. +# Dependabot is told to ignore it in .github/dependabot.yml. astyle==3.4.13