Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@devantler
Copy link
Contributor

@devantler devantler commented Nov 15, 2025

Not sure if this is an upcoming but undocumented change by GitHub, but my copilot-instructions.md are still in the .github/copilot-instructions.md as documented here. 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.

Copilot AI review requested due to automatic review settings November 15, 2025 13:22
@devantler devantler requested a review from localden as a code owner November 15, 2025 13:22
Copilot finished reviewing on behalf of devantler November 15, 2025 13:24
Copy link
Contributor

Copilot AI left a 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_FILE path 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 Changed COPILOT_FILE path from .github/agents/copilot-instructions.md to .github/copilot-instructions.md
scripts/powershell/update-agent-context.ps1 Changed COPILOT_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
Copy link

WikiRik commented Nov 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
Copy link
Contributor Author

I am using the latest version of VSCode Insiders right now

Version: 1.107.0-insider
Commit: 18279e23d7d90c429d329c1104d2108d388b8210
Date: 2025-11-14T20:20:20.505Z (17 hrs ago)
Electron: 39.1.2
ElectronBuildId: 12766293
Chromium: 142.0.7444.134
Node.js: 22.21.1
V8: 14.2.231.17-electron.0
OS: Darwin arm64 25.2.0

Can you share a link if this is official? I have not heard about it, so I am curious if you know. The October release v1.106 does not mention it (tried searching for "agents/copilot-instructions.md" and "copilot-instructions.md")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants