-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Error Message:
The CodeQL Action does not support uploading multiple SARIF runs with the same category. Please update your workflow to upload a single run per category.
Steps to Reproduce:
- Run the CI workflow as in this link.
Cause:
This issue occurs because the upload-sarif step in the ktlint job tries to upload the whole shared/build/reports/ktlint directory, which can contain multiple SARIF files for the same category.
Suggested Solution:
Modify the workflow to upload only a single SARIF file per category (e.g., ktlintCheck.sarif), or merge all relevant SARIF files into one before uploading.
For more details, see the workflow at commit 6be66e90e45938aebb286e88486039aa02915c6d.