summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-28 12:37:01 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-28 12:44:13 +0900
commit66b89b069d3cc8296696f98a5040106b63b0ab06 (patch)
treef55f25b9cb7ea633389adf576a4d911370e2c902 /.github
parentc3e57d686a07ff5c18cd0f82ed003713254c3c90 (diff)
Also ignore dismissed CodeQL alerts at tests and URI library
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql-analysis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index ff662a5901..d43e4b6274 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -87,6 +87,8 @@ jobs:
with:
patterns: |
+**/*.rb
+ -lib/uri/mailto.rb:rb/overly-large-range
+ -lib/uri/rfc3986_parser.rb:rb/overly-large-range
-lib/bundler/vendor/uri/lib/uri/mailto.rb:rb/overly-large-range
-lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb:rb/overly-large-range
-test/ruby/test_io.rb:rb/non-constant-kernel-open
@@ -96,6 +98,8 @@ jobs:
-spec/ruby/core/io/readlines_spec.rb:rb/non-constant-kernel-open
-spec/ruby/core/io/foreach_spec.rb:rb/non-constant-kernel-open
-spec/ruby/core/io/write_spec.rb:rb/non-constant-kernel-open
+ -spec/ruby/core/io/read_spec.rb:rb/non-constant-kernel-open
+ -spec/ruby/core/kernel/open_spec.rb:rb/non-constant-kernel-open
input: sarif-results/${{ matrix.language }}.sarif
output: sarif-results/${{ matrix.language }}.sarif
if: ${{ matrix.language == 'ruby' }}