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 11:30:37 -06:00 committed by GitHub
parent 0fec04a1b7
commit 31e3c13ea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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