* Fix SARIF

* only check changed files

* mask http/https

* add newline at eof

* Add dicts

* fix http regex

* fix http regex
This commit is contained in:
VictoriousRaptor 2022-12-31 23:37:40 +08:00 committed by GitHub
parent 51bbd23110
commit c121597376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -108,3 +108,7 @@
# Localization keys
#x:Key="[^"]+"
#{DynamicResource [^"]+}
#http/https
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]

View file

@ -82,10 +82,10 @@ jobs:
post_comment: 0
use_magic_file: 1
experimental_apply_changes_via_bot: 1
use_sarif: true # to show in pr page
use_sarif: 0 # to show in pr page
extra_dictionary_limit: 10
check_commit_messages: commits title description
only_check_changed_files: false
only_check_changed_files: 1
check_extra_dictionaries: ''
quit_without_error: true
extra_dictionaries:
@ -96,6 +96,8 @@ jobs:
cspell:csharp/csharp.txt
cspell:dotnet/dotnet.txt
cspell:python/src/python/python-lib.txt
cspell:aws/aws.txt
cspell:companies/src/companies.txt
warnings:
binary-file,deprecated-feature,large-file,limited-references,noisy-file,non-alpha-in-dictionary,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,unrecognized-spelling,no-newline-at-eof