summaryrefslogtreecommitdiff
path: root/.github/codeql
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-03-31 15:13:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-03-31 15:14:58 +0900
commita08f54740a7cfde9b318db8ba59a4de2933c4734 (patch)
treee0b1f89a21ab0e322460d02675d11f62695d2e3c /.github/codeql
parentf41c1941a34760d37fbd2c3357cb7a2d42b0d408 (diff)
Ignore files with parse errors in CodeQL analysis
These test files, specs, and trace_point.rb contain intentionally invalid syntax or special constructs that CodeQL's parser cannot handle. They are not security-relevant and should be excluded from analysis. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to '.github/codeql')
-rw-r--r--.github/codeql/codeql-config.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
index d30ad51c79..f5d33545c1 100644
--- a/.github/codeql/codeql-config.yml
+++ b/.github/codeql/codeql-config.yml
@@ -2,5 +2,21 @@ paths-ignore:
- benchmark
- sample
- spec/ruby/command_line/fixtures
+ - spec/ruby/core/enumerable/shared/inject.rb
- spec/ruby/core/exception/fixtures
+ - spec/ruby/core/proc/parameters_spec.rb
+ - spec/ruby/core/proc/ruby2_keywords_spec.rb
+ - spec/ruby/core/range/reverse_each_spec.rb
- spec/ruby/language/fixtures
+ - spec/ruby/language/lambda_spec.rb
+ - spec/ruby/language/method_spec.rb
+ - spec/ruby/language/string_spec.rb
+ - test/error_highlight/test_error_highlight.rb
+ - test/prism/result/named_capture_test.rb
+ - test/ruby/test_call.rb
+ - test/ruby/test_signal.rb
+ - test/ruby/test_super.rb
+ - test/ruby/test_syntax.rb
+ - test/ruby/test_unicode_escape.rb
+ - test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
+ - trace_point.rb