Skip to content

Commit a08f547

Browse files
hsbtclaude
andcommitted
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>
1 parent f41c194 commit a08f547

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/codeql/codeql-config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,21 @@ paths-ignore:
22
- benchmark
33
- sample
44
- spec/ruby/command_line/fixtures
5+
- spec/ruby/core/enumerable/shared/inject.rb
56
- spec/ruby/core/exception/fixtures
7+
- spec/ruby/core/proc/parameters_spec.rb
8+
- spec/ruby/core/proc/ruby2_keywords_spec.rb
9+
- spec/ruby/core/range/reverse_each_spec.rb
610
- spec/ruby/language/fixtures
11+
- spec/ruby/language/lambda_spec.rb
12+
- spec/ruby/language/method_spec.rb
13+
- spec/ruby/language/string_spec.rb
14+
- test/error_highlight/test_error_highlight.rb
15+
- test/prism/result/named_capture_test.rb
16+
- test/ruby/test_call.rb
17+
- test/ruby/test_signal.rb
18+
- test/ruby/test_super.rb
19+
- test/ruby/test_syntax.rb
20+
- test/ruby/test_unicode_escape.rb
21+
- test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
22+
- trace_point.rb

0 commit comments

Comments
 (0)