diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-03 12:50:37 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-03 15:16:55 +0900 |
commit | 01776ca1c0eb368dd820a3259288466076d9cd46 (patch) | |
tree | 39812d642ef513da41e8b00c53ca39ecbe989e79 | |
parent | 1e039474a2d55bdc7cfc5a01b4d8cf00ae446a76 (diff) |
Ignore conftest.c under the ext directories for CodeQL analysis
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3280
-rw-r--r-- | .github/codeql/codeql-config.yml | 4 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 0000000000..7196708b21 --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,4 @@ +name: "CodeQL config for the Ruby language" + +paths-ignore: + - '/ext/**/*/conftest.c' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b571409abf..bee79cb1ab 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,6 +31,7 @@ jobs: uses: github/codeql-action/init@v1 with: languages: cpp + config-file: ./.github/codeql/codeql-config.yml - name: Autobuild uses: github/codeql-action/autobuild@v1 |