Do not run CodeQL analysis when some file types are updated (#47051)

This follows the recommendation in the GitHub Docs "Configuring code scanning" > "Avoiding unnecessary scans of pull requests".
This commit is contained in:
Armand Grillet 2022-03-30 13:12:59 +02:00 committed by GitHub
parent 42533dc973
commit 42e090cda8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
paths-ignore:
- '**/*.json'
- '**/*.md'
- '**/*.txt'
- '**/*.yml'
schedule:
- cron: '0 4 * * 6'