🔧 Chore: use on.push.paths-ignore can prevent Code Scanning annotating new alerts in your pull requests

This commit is contained in:
Cell
2022-09-08 14:04:17 +08:00
parent 1da9407ee3
commit 6c585b34b1
2 changed files with 0 additions and 9 deletions
-5
View File
@@ -1,5 +0,0 @@
name: "CodeQL config"
paths-ignore:
- assets/lib/**
- docs/**
-4
View File
@@ -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.