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:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.json'
|
||||||
|
- '**/*.md'
|
||||||
|
- '**/*.txt'
|
||||||
|
- '**/*.yml'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 4 * * 6'
|
- cron: '0 4 * * 6'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user