Skip to content

Commit 9c4eb1e

Browse files
zkoppertCopilot
andcommitted
fix: add missing manifest filenames for pre-commit and vcpkg
- pre-commit: add .pre-commit-config.yml, .pre-commit.yaml, .pre-commit.yml per dependabot-core CONFIG_FILE_PATTERN regex - vcpkg: add vcpkg-configuration.json per dependabot-core file fetcher Verified against dependabot-core source: - pre_commit/lib/dependabot/pre_commit/file_fetcher.rb - vcpkg/lib/dependabot/vcpkg/file_fetcher.rb Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6a4ff76 commit 9c4eb1e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

dependabot_file.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,17 @@ def build_dependabot_file(
299299
"gitsubmodule": [".gitmodules"],
300300
"helm": ["Chart.yaml"],
301301
"julia": ["Project.toml"],
302-
"pre-commit": [".pre-commit-config.yaml"],
302+
"pre-commit": [
303+
".pre-commit-config.yaml",
304+
".pre-commit-config.yml",
305+
".pre-commit.yaml",
306+
".pre-commit.yml",
307+
],
303308
"pub": ["pubspec.yaml"],
304309
"rust-toolchain": ["rust-toolchain.toml", "rust-toolchain"],
305310
"swift": ["Package.swift"],
306311
"uv": ["uv.lock"],
307-
"vcpkg": ["vcpkg.json"],
312+
"vcpkg": ["vcpkg.json", "vcpkg-configuration.json"],
308313
}
309314

310315
# Detect package managers where manifest files have known names

0 commit comments

Comments
 (0)