Files excluded from GitHub Copilot code review - GitHub Docs
Skip to main content Skip to content Collapse sidebar Expand sidebar Files excluded from GitHub Copilot code review Understand the types of files that are excluded from a review by Copilot. 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. This is an example of some of the files that are excluded from Copilot code review: .gitignore package-lock.json yarn.lock jest.config.js next.config.js tailwind.config.js tsconfig.json requirements.txt Pipfile.lock Gemfile.lock composer.lock Cargo.lock go.sum paket.lock pubspec.lock stack.yaml elm.json Project.toml Manifest.toml renv.lock build.sbt Package.resolved deps.edn build.gradle mix.lock build.gradle.kts cpanfile Podfile.lock conanfile.txt info.rkt rockspec opam rebar.config nimble shard.yml dub.json dub.sdl GPR Mason.toml fpm.toml pack.pl baseline.st PacletInfo.m info.ss Jpkg box.json GNAVI.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/**