github / github/codeql

How to configure the index-files step?

オープン
#6,437 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。