mirror of
https://github.com/nlohmann/json.git
synced 2026-10-06 06:30:31 +00:00
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 <mail@nlohmann.me>
This commit is contained in:
@@ -24,6 +24,10 @@ updates:
|
|||||||
interval: daily
|
interval: daily
|
||||||
cooldown:
|
cooldown:
|
||||||
default-days: 7
|
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
|
- package-ecosystem: pip
|
||||||
directory: /tools/generate_natvis
|
directory: /tools/generate_natvis
|
||||||
|
|||||||
@@ -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
|
astyle==3.4.13
|
||||||
|
|||||||
Reference in New Issue
Block a user