Repository navigation
Add Copilot CLI settings.local.json to .gitignore - #128082
Conversation
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
|
Caution Security scanning requires review for Code Review DetailsThe threat detection results could not be parsed. The workflow output should be reviewed before merging. Review the workflow run logs for details. Note This review was generated by Copilot. 🤖 Copilot Code Review — PR #128082Holistic AssessmentMotivation: The PR is well-justified. The Copilot CLI documentation explicitly recommends adding Approach: Adding the path to Summary: ✅ LGTM. This is a minimal, correct change that follows the documented recommendation for Copilot CLI local configuration. No code, tests, or behavior are affected. Detailed Findings✅ Correctness — Path and placement are correctThe ignored path
|
Copilot CLI has an additional configuration file called "local repository" that allows configuration to override a repository's configuration, but should not be checked in. From [the docs](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference#local-settings-githubcopilotsettingslocaljson): > Create .github/copilot/settings.local.json in the repository for personal overrides that should not be committed. Add this file to .gitignore. > The local configuration file uses the same schema as the repository configuration file (.github/copilot/settings.json) and takes precedence over it.
Copilot CLI has an additional configuration file called "local repository" that allows configuration to override a repository's configuration, but should not be checked in.
From the docs: