github / github/codeql

How to configure the index-files step?

Ouverte
#6,437 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**Description of the issue**

See `github/codeql-action/analyze` errors in https://github.com/microsoft/XmlNotepad/pull/122/checks?check_run_id=3265143671

I see it is using [codeql/csharp/tools/pre-finalize.cmd](https://github.com/github/codeql/blob/main/csharp/tools/pre-finalize.cmd) and I see this command is explicitly indexing xml files.

My solution contains bad xml files on purpose in a unit test project and so how do I configure this pre-finalize to ignore those files? Is there some magic I can put in a codeql-analysis.yml config file ?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.