Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeQL: ignore purposefully invalid ruby files (#7126)
CodeQL is complaining that these two files are unparsable Ruby: ``` [2023-04-20 07:34:33] [build-stdout] [2023-04-20 07:34:33] [build-stdout] WARN /home/runner/work/dependabot-core/dependabot-core/bundler/spec/fixtures/projects/bundler1/invalid_ruby/Gemfile:2: A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. [2023-04-20 07:34:33] [build-stdout] [2023-04-20 07:34:33] [build-stdout] WARN /home/runner/work/dependabot-core/dependabot-core/bundler/spec/fixtures/projects/bundler2/invalid_ruby/Gemfile:2: A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. ``` These two files are test specs and intentionally unparsable, so ignoring them. Docs on configuring ignores are here: * https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning#specifying-directories-to-scan * https://github.com/github/codeql-action#configuration-via-config-input
- Loading branch information