Custom repository instructions are now available for Copilot on GitHub.com (Public Preview)

Copilot chat on GitHub.com just leveled up! It now supports repository-specific custom instructions, giving you a more tailored and personalized chat experience. This means you can provide Copilot with important details about your development stack, coding standards, or even how you prefer to chat. 🎉

Now, you can use repository-specific custom instructions when chatting with Copilot in Visual Studio, VS Code and on GitHub.com

🚀 Getting Started

  1. Create a .github/copilot-instructions.md file in your repository (if .github doesn’t exist yet, go ahead and create it).
  2. Add your custom instructions to the file.

That’s it! Copilot chat will automatically apply these instructions whenever you’re chatting about that repository.

💡 Looking for ideas? Here are some examples to kick things off:

  • JavaScript: “Omit semicolons in code examples.”
  • Python: “We use Poetry for dependencies, not pip. Share instructions using Poetry.”
  • General style preference: “Use arrow functions instead of traditional function expressions.”

Start customizing and make Copilot chat feel like an extension of your team! 🛠

GitHub Code Scanning powered by CodeQL now supports dependency caching for Java, Go, and C# projects. This feature ensures that scans can deliver meaningful results even if registries are temporarily unavailable, while also reducing overall scanning time after the cache is established.

Dependency Caching Availability:

  • Default Setup: For repositories using GitHub-hosted runners, dependency caching is automatically enabled for both public and private repositories during scans.
  • Advanced Setup: Users with custom configurations can manually enable dependency caching as needed.

This is now available on github.com.

See more

As of January 20th, 2025, Dependabot no longer supports npm version 6, which has reached its end-of-life. If you continue to use npm version 6, Dependabot will be unable to create pull requests to update dependencies. If this affects you, we recommend updating to a supported release of npm. As of December 2024, npm 11 is the newest supported release.

View npm’s official documentation for more information about supported releases.

See more