mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 22:45:03 +02:00
Ignore test case for Kernel and IO methods
This commit is contained in:
parent
db0a4c8923
commit
10a80d9dc4
Notes:
git
2023-02-27 09:49:44 +00:00
1 changed files with 23 additions and 0 deletions
23
.github/workflows/codeql-analysis.yml
vendored
23
.github/workflows/codeql-analysis.yml
vendored
|
@ -78,3 +78,26 @@ jobs:
|
|||
uses: github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
upload: False
|
||||
output: sarif-results
|
||||
|
||||
- name: filter-sarif
|
||||
uses: advanced-security/filter-sarif@v1
|
||||
with:
|
||||
patterns: |
|
||||
+**/*.rb
|
||||
-test/ruby/test_io.rb:rb/non-constant-kernel-open
|
||||
-test/open-uri/test_open-uri.rb:rb/non-constant-kernel-open
|
||||
-test/open-uri/test_ssl.rb:rb/non-constant-kernel-open
|
||||
-spec/ruby/core/io/binread_spec.rb:rb/non-constant-kernel-open
|
||||
-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
|
||||
input: sarif-results/${{ matrix.language }}.sarif
|
||||
output: sarif-results/${{ matrix.language }}.sarif
|
||||
if: ${{ matrix.language == 'ruby' }}
|
||||
|
||||
- name: Upload SARIF
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
sarif_file: sarif-results/${{ matrix.language }}.sarif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue