codeql: Move the paths-ignore to the correct place

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I1b9d53611def0adb4be2057d224661ee29c824e4
pull/3608/head
Jan Holesovsky 2021-11-11 13:27:32 +01:00 committed by Jan Holesovsky
parent d264fa61eb
commit 14d1a82144
2 changed files with 18 additions and 6 deletions

View File

@ -0,0 +1,9 @@
name: "CodeQL config"
queries:
- uses: security-and-quality
# Ignore these from being scanned
paths-ignore:
- '**/*w2ui-1.5.rc1.js'
- '/loleaflet/'

View File

@ -3,12 +3,7 @@
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
# Ignore these from being scanned
paths-ignore:
- '**/*w2ui-1.5.rc1.js'
- 'loleaflet/'
name: "CodeQL scanning - action"
on:
push:
@ -16,6 +11,13 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
# The paths-ignore here only defines that changes in these will not trigger
# the action at all; but to actually avoid scanning the content of these,
# see the .github/codeql/codeql-config.yml configuration file
paths-ignore:
- '**/*w2ui-1.5.rc1.js'
- 'loleaflet/'
schedule:
- cron: '0 22 * * 3'
@ -46,6 +48,7 @@ jobs:
uses: github/codeql-action/init@v1
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.