From 69ef88950bc3e8c19e25fce3291c8b3e8fe853a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 26 Oct 2026 09:41:07 +0100 Subject: [PATCH] ci: keep vcpkg.json in Dependabot's format and out of the linters Dependabot rewrites the manifest with expanded arrays and no final newline, which failed Prettier and EditorConfig on every baseline bump. --- .github/workflows/lint.yaml | 3 ++- vcpkg.json | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index acf2a9ab2b..6b2989a81a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -30,7 +30,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: / MARKDOWN_CONFIG_FILE: .markdown-lint.yaml - FILTER_REGEX_EXCLUDE: docs/(cn|es|fr|ja|pt-br|ru|tr)/ + # Dependabot rewrites vcpkg.json in its own style (expanded arrays, no final newline) + FILTER_REGEX_EXCLUDE: (docs/(cn|es|fr|ja|pt-br|ru|tr)/|vcpkg\.json$) VALIDATE_CPP: false VALIDATE_JSCPD: false VALIDATE_GO: false diff --git a/vcpkg.json b/vcpkg.json index 2b0344b4f3..3f78cc262d 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,4 +1,7 @@ { - "dependencies": ["brotli", "pthreads"], + "dependencies": [ + "brotli", + "pthreads" + ], "builtin-baseline": "817892b0ecbc6af994dd6df999c73faf795adbf2" -} +} \ No newline at end of file