github / github/codeql

How to configure the index-files step?

Offen
#6,437 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**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 ?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.