b2562525c3 (master): Exclude test directories from CodeQL analysis

1 view
Skip to first unread message

Hiroshi SHIBATA

unread,
Mar 30, 2026, 11:46:00 PM (19 hours ago) Mar 30
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-03-31 02:02:09 +0000 (Tue, 31 Mar 2026)

New Revision: b2562525c3

https://github.com/ruby/ruby/commit/b2562525c3

Log:
Exclude test directories from CodeQL analysis

CodeQL's Ruby extractor cannot parse UTF-16 encoded fixtures,
TRICK entries, and some edge-case syntax in test files, causing
84 parse error warnings. These directories (spec/, test/, sample/,
benchmark/) are not relevant for security scanning.

Co-Authored-By: Claude Opus 4.6 (1M context) <nor...@anthropic.com>

Added files:
.github/codeql/codeql-config.yml
Modified files:
.github/workflows/check_sast.yml
Reply all
Reply to author
Forward
0 new messages