Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support an empty list of languages in order for codeQL to autodetect …
…them Apparently codeQL no longer handles the fact where languages are set but are not present in the repository and instead errors out. There is a relatively recent change (Oct-23) to codeQL that is able to autodetect the languages used: https://github.blog/changelog/2023-10-23-code-scanning-default-setup-automatically-includes-all-codeql-supported-languages/ and especially: https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning says: """ If your workflow does not contain a matrix called language, then CodeQL is configured to run analysis sequentially. If you don't specify languages in the workflow, CodeQL automatically detects, and attempts to analyze, any supported languages in the repository. """ Let's use that feature instead. Unfortunately this is a breaking change.
- Loading branch information