Add .github/copilot-instructions.md to paths loaded for rules (#27442)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-03-25 17:30:37 +00:00
committed by GitHub
parent 0fec04a1b7
commit 31e3c13ea9
+2 -1
View File
@@ -698,11 +698,12 @@ impl Thread {
// Note that Cline supports `.clinerules` being a directory, but that is not currently
// supported. This doesn't seem to occur often in GitHub repositories.
const RULES_FILE_NAMES: [&'static str; 5] = [
const RULES_FILE_NAMES: [&'static str; 6] = [
".rules",
".cursorrules",
".windsurfrules",
".clinerules",
".github/copilot-instructions.md",
"CLAUDE.md",
];
let selected_rules_file = RULES_FILE_NAMES