From cd2df0bc6e20f73a7e6e10f1fa74e5c84bae305d Mon Sep 17 00:00:00 2001 From: Don Cross Date: Mon, 7 Nov 2022 15:43:01 -0500 Subject: [PATCH] Attempted fix of custom CodeQL configuration. Apparently you have to put CodeQL paths-ignore statements in a separate yml file from the GitHub Actions workflow yml, and point to it by name. Trying that here. --- .codeql/config.yml | 4 ++++ .github/workflows/codeql.yml | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .codeql/config.yml diff --git a/.codeql/config.yml b/.codeql/config.yml new file mode 100644 index 00000000..2dbe2a09 --- /dev/null +++ b/.codeql/config.yml @@ -0,0 +1,4 @@ +paths-ignore: + - 'generate/template/astronomy.*' + - 'generate/eclipse/*.html' + - '**/astronomy.browser.js' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 897f7e81..99b5d401 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,9 +31,7 @@ jobs: with: languages: ${{ matrix.language }} queries: +security-and-quality - paths-ignore: 'generate/template/astronomy.*' - paths-ignore: 'generate/eclipse/*.html' - paths-ignore: '**/astronomy.browser.js' + config-file: .codeql/config.yml - name: Autobuild uses: github/codeql-action/autobuild@v2