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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user