Certain types of files are excluded from Copilot code review. These include dependency management files, log files, SVG files, and files in locations typically reserved for vendor files or automatically generated files.
If you include any of these files in a pull request, Copilot code review will not consider the file when carrying out the review. Similarly, using Copilot code review on one of these files in your IDE, will not generate review comments.
On GitHub.com, when a dependency scan is enabled, Copilot code review can review requirements.txt, build.sbt, build.gradle, and build.gradle.kts in the repository root. See GitHub Copilot code review.
This is an example of some of the files that are excluded from Copilot code review:
.gitignorepackage-lock.jsonyarn.lockjest.config.jsnext.config.jstailwind.config.jstsconfig.jsonrequirements.txtPipfile.lockGemfile.lockcomposer.lockCargo.lockgo.sumpaket.lockpubspec.lockstack.yamlelm.jsonProject.tomlManifest.tomlrenv.lockbuild.sbtPackage.resolveddeps.ednbuild.gradlemix.lockbuild.gradle.ktscpanfilePodfile.lockconanfile.txtinfo.rktrockspecopamrebar.confignimbleshard.ymldub.jsondub.sdlGPRMason.tomlfpm.tomlpack.plbaseline.stPacletInfo.minfo.ssJpkgbox.jsonGNAVI.xml
Files matching these patterns are also excluded:
-
**/*.svg -
**/*.log -
**/*.lock -
**/go.sum -
**/*.ipynb.raw.html -
**/dist/**/* -
**/node_modules/**/* -
**/*.min.js -
**/*.d.ts -
**/coverage/**/* -
**/*.bundle.js -
**/*.map -
**/out/**/* -
**/vendor/**/* -
**/generated/**/* -
**/generated-sources/**/* -
**/bin/**/*Note
Some files matching
**/bin/**/*are included for review:- Rust files matching
**/bin/**/*.rs - SAP Commerce Cloud (Hybris) files under
**/hybris/bin/custom/**
- Rust files matching