From 6c585b34b1f188c99479f040254e512d30983ce8 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 8 Sep 2022 14:04:17 +0800 Subject: [PATCH] :wrench: Chore: use `on.push.paths-ignore` can prevent Code Scanning annotating new alerts in your pull requests --- .github/codeql/codeql-config.yml | 5 ----- .github/workflows/codeql-analysis.yml | 4 ---- 2 files changed, 9 deletions(-) delete mode 100644 .github/codeql/codeql-config.yml diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml deleted file mode 100644 index cd53f354..00000000 --- a/.github/codeql/codeql-config.yml +++ /dev/null @@ -1,5 +0,0 @@ -name: "CodeQL config" - -paths-ignore: - - assets/lib/** - - docs/** \ No newline at end of file diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index fa7da569..93565617 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,9 +21,6 @@ on: pull_request: branches: - master - paths-ignore: - - assets/lib/** - - docs/** schedule: - cron: '30 18 * * 5' @@ -49,7 +46,6 @@ jobs: uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - config-file: ./.github/codeql/codeql-config.yml # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file.