- Notifications
You must be signed in to change notification settings - Fork4.9k
fix-update-agent-context#1195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR corrects the GitHub Copilot instructions file path to align with GitHub's official documentation. The previous path (.github/agents/copilot-instructions.md) was creating new files instead of updating existing ones, breaking compatibility with the documented standard location (.github/copilot-instructions.md).
- Updated the
COPILOT_FILEpath variable in both Bash and PowerShell scripts
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/bash/update-agent-context.sh | ChangedCOPILOT_FILE path from.github/agents/copilot-instructions.md to.github/copilot-instructions.md |
| scripts/powershell/update-agent-context.ps1 | ChangedCOPILOT_FILE path from.github/agents/copilot-instructions.md to.github/copilot-instructions.md |
💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.
WikiRik commentedNov 15, 2025
Which VSCode version are you using? Maybe the docs haven't updated with the new 1.106 version that changed a few things |
devantler commentedNov 15, 2025
I am using the latest version of VSCode Insiders right now Version: 1.107.0-insider Can you share a link if this is official? I have not heard about it, so I am curious if you know. TheOctober release v1.106 does not mention it (tried searching for "agents/copilot-instructions.md" and "copilot-instructions.md") |
Uh oh!
There was an error while loading.Please reload this page.
Not sure if this is an upcoming but undocumented change by GitHub, but my
copilot-instructions.mdare still in the.github/copilot-instructions.mdas documentedhere. Changing this to.github/agents/copilot-instructions.md, creates a new file, instead of updating the existing file when ran and breaks compatibility with official practices.