🔧 Chore: add CodeQL config

This commit is contained in:
Cell
2022-09-08 13:54:11 +08:00
parent fef069d7f6
commit a4556a728e
2 changed files with 10 additions and 3 deletions
+5 -3
View File
@@ -19,7 +19,10 @@ on:
branches:
- master
schedule:
- cron: '45 0 * * 1'
- cron: '30 18 * * 5'
paths-ignore:
- assets/lib/**
- docs/**
jobs:
analyze:
@@ -43,8 +46,7 @@ jobs:
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
paths-ignore:
- assets/lib
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.