From 5bb3cb1006603711d970a68f2d23ad91125ca732 Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 21 Nov 2020 13:04:21 +0100 Subject: [PATCH] [gh-actions] Add codeql config file to exclude compiled js, html, css --- .github/codeql/codeql-config.yml | 4 ++++ .github/workflows/codeql-analysis.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .github/codeql/codeql-config.yml diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 00000000..0b734d7e --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,4 @@ +name: "forked-daapd CodeQL config" + +paths-ignore: + - htdocs diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 82fe9a36..a047261c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,6 +30,8 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 + with: + config-file: ./.github/codeql/codeql-config.yml # Override language selection by uncommenting this and choosing your languages # with: # languages: go, javascript, csharp, python, cpp, java