From 8105843d425356f4bf019863275cffc4f1976a1b Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 15 Sep 2025 14:20:15 +0100 Subject: [PATCH] Specify `paths-ignore` for other languages --- .github/codeql/codeql-config-javascript.yml | 4 ++-- .github/workflows/codeql.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/codeql/codeql-config-javascript.yml b/.github/codeql/codeql-config-javascript.yml index 124be804a..d946c415f 100644 --- a/.github/codeql/codeql-config-javascript.yml +++ b/.github/codeql/codeql-config-javascript.yml @@ -7,9 +7,9 @@ queries: # we include both even though one is a superset of the # other, because we're testing the parsing logic and # that the suites exist in the codeql bundle. + - uses: security-and-quality - uses: security-experimental - uses: security-extended - - uses: security-and-quality paths-ignore: - - tests - lib + - tests diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b24de0a27..d254df607 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -134,6 +134,9 @@ jobs: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} config: > + paths-ignore: + - lib + - tests queries: - uses: security-and-quality - name: Perform CodeQL Analysis