From 5b9e145624ce59e01239ba486bf4c96cc89fce51 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sun, 18 Oct 2020 12:48:30 +0200 Subject: [PATCH] Ignore compiled dist/action analysis --- .github/config/codeql.yml | 2 ++ .github/workflows/analysis.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/config/codeql.yml diff --git a/.github/config/codeql.yml b/.github/config/codeql.yml new file mode 100644 index 00000000..9936907e --- /dev/null +++ b/.github/config/codeql.yml @@ -0,0 +1,2 @@ +paths-ignore: + - action/dist \ No newline at end of file diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index b24b65e9..7b4aa9bb 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -10,7 +10,7 @@ on: jobs: analyze: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 @@ -20,3 +20,5 @@ jobs: languages: javascript - name: Analyze uses: github/codeql-action/analyze@v1 + with: + config-file: ./.github/config/codeql.yml \ No newline at end of file