commit 791aa84ceb1d24bdb4ae49ebea5014060518bf6e
parent 006601be7b56f7fad4b4f83e8317b8bd9358e0f6
Author: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Tue, 13 Jul 2021 15:04:16 -0400
Upgrade check-spelling to v0.0.19 (#1275)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat:
7 files changed, 74 insertions(+), 64 deletions(-)
diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt
@@ -32,8 +32,8 @@ bcp47
bcrypt
binver
Bitmask
-blog
Blog
+blog
boolalpha
bstr
bugfix
@@ -93,8 +93,8 @@ deserializing
dest
devblogs
differentpath
-distro
DIRECTONLY
+distro
dll
dllexport
docx
@@ -156,8 +156,8 @@ hinternet
HKEY
hmac
HMODULE
-homepage
Homepage
+homepage
hostname
hpp
HRESULT
@@ -282,9 +282,9 @@ NTSTATUS
nuget
nullptr
nullsoft
+nunit
nupkg
nuspec
-nunit
OAuth
ofstream
opencode
@@ -314,8 +314,8 @@ placeholders
png
posix
powershell
-PPV
pplx
+PPV
pragma
PRECONFIG
preindexed
@@ -356,6 +356,7 @@ robuffer
rowcount
rowid
Rpc
+rpc
rubengustorage
ruleset
runsettings
@@ -537,12 +538,13 @@ winrt
winsqlite
wix
wmain
+WNS
woah
wofstream
workaround
workflow
-wostringstream
wostream
+wostringstream
wpfn
wrl
WStr
@@ -550,10 +552,10 @@ wstring
wstringstream
www
xamarin
+XElement
xlang
xml
xmlns
-XElement
XName
XResource
xsd
diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt
@@ -1,8 +1,20 @@
-(?:^|/)\.gitignore$
-(?:^|/)(?i)LICENSE
+# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
+(?:^|/)(?i)COPYRIGHT
+(?:^|/)(?i)LICEN[CS]E
+(?:^|/)package(?:-lock|)\.json$
+(?:^|/)vendor/
/shared\.manifest$
+ignore$
+\.avi$
\.cer$
\.gif$
+\.ico$
+\.jpe?g$
+\.lock$
+\.map$
+\.min\.
+\.mod$
+\.mp[34]$
\.msix$
\.png$
\.vcxitems$
@@ -10,17 +22,18 @@
\.vcxproj\.filters$
\.vdproj$
\.wapproj$
+\.wav$
^cgmanifest\.json$
^Localization/
^NOTICE$
^src/AppInstallerCLICore/Commands/ExperimentalCommand\.cpp$
+^src/AppInstallerCLITests/TestData/InputNames.txt$
+^src/AppInstallerCLITests/TestData/InputPublishers.txt$
+^src/AppInstallerCLITests/TestData/NormalizationInitialIds.txt$
+^src/AppInstallerCommonCore/external/do.h$
^src/catch2/
+^src/cpprestsdk/
^src/JsonCppLib/
^src/Valijson/
^src/YamlCppLib/
-^src/cpprestsdk/
^\.github/
-^src/AppInstallerCLITests/TestData/InputNames.txt$
-^src/AppInstallerCLITests/TestData/InputPublishers.txt$
-^src/AppInstallerCLITests/TestData/NormalizationInitialIds.txt$
-^src/AppInstallerCommonCore/external/do.h$
diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt
@@ -1,5 +1,4 @@
abcd
-abifind
adml
admx
affle
@@ -31,7 +30,6 @@ Aysnc
azurewebsites
badbit
Baz
-bcp
Beigi
bfd
bght
@@ -49,26 +47,23 @@ casemap
casemappings
cch
CDEF
-cdn
cend
centralus
certmgr
certs
Cfg
-cgmanifest
cfr
cgi
+cgmanifest
chcp
ci
cinq
CLIE
cloudapp
-CLSID
+clsid
COINIT
-combaseapi
COMGLB
commandline
-compschema
Concat
contosa
contosainstaller
@@ -76,14 +71,13 @@ contoso
contractversion
count'th
countryregion
-cppwinrtprocess
createmanifestmetadata
cstdint
ctc
Ctx
curated
CYRL
-Debian
+debian
deigh
deleteifnotneeded
desktopappinstaller
@@ -125,8 +119,7 @@ GES
GESMBH
GHS
gity
-Globals
-google
+globals
helplib
helplibrary
hhx
@@ -134,24 +127,19 @@ HINSTANCE
hkey
hlocal
hre
-HRESULTs
+hresults
htm
-IApp
IAttachment
IConfiguration
-idl
idx
-IFind
-IGet
IGlobal
IHelp
IHost
IID
-iinstall
IInstalled
img
IName
-INET
+inet
inor
installshield
IPackage
@@ -179,7 +167,7 @@ Keivan
KF
KNOWNFOLDERID
ktf
-Langs
+langs
LATN
ldcase
learnxinyminutes
@@ -200,14 +188,14 @@ MBH
megamorf
memcpy
middleware
-MIDL
+midl
minexample
minschema
MMmmbbbb
monicka
MPNS
-msdownload
msdn
+msdownload
MSFT
msftrubengu
MSIHASH
@@ -231,9 +219,7 @@ nullopt
NX
objbase
ofile
-oss
Packagedx
-Packageend
pathparts
pathpaths
PCs
@@ -247,7 +233,6 @@ PMS
positionals
powertoys
productcode
-pseudocode
pvk
pvm
pwabuilder
@@ -262,7 +247,6 @@ readonly
redirector
regexes
REGSAM
-REINSTALLMODE
restsource
rhs
roblox
@@ -285,16 +269,14 @@ Shlobj
sid
SIGNATUREHASH
Sku
-smartscreen
sortof
-sourc
sourceforge
spamming
SPAPI
Srinivasan
SRL
srs
-Standalone
+standalone
startswith
streambuf
strtoull
@@ -342,7 +324,6 @@ USHORT
Utils
uuid
UWP
-vamus
VERSI
VERSIE
vns
@@ -365,10 +346,8 @@ Workflows
WSL
wsv
wto
-Wunused
wwinmain
WZDNCRFJ
-Xaml
XPLATSTR
xsi
zy
diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt
@@ -1,3 +1,5 @@
+# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
+
WinGetDevCLI_8wekyb3d8bbwe
_tisf_sqliteReturnValue
microsoft\.com/[^])">]*
diff --git a/.github/actions/spelling/reject.txt b/.github/actions/spelling/reject.txt
@@ -1 +1,7 @@
+^attache$
+benefitting
+occurence
Sorce
+^[Ss]pae
+^untill
+^wether
diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml
@@ -1,19 +0,0 @@
-name: Spell checking
-on:
- pull_request_target:
- push:
- branches:
- - "**"
- tags-ignore:
- - "**"
-
-jobs:
- build:
- name: Spell checking
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2.0.0
- with:
- ref: ${{ github.event.pull_request.head.sha }}
- fetch-depth: 5
- - uses: check-spelling/check-spelling@0.0.17-alpha
diff --git a/.github/workflows/spelling2.yml b/.github/workflows/spelling2.yml
@@ -0,0 +1,27 @@
+# spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p
+name: Spell checking
+on:
+ pull_request_target:
+ push:
+ branches:
+ - "**"
+ tags-ignore:
+ - "**"
+
+jobs:
+ spelling:
+ name: Spell checking
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout-merge
+ if: "contains(github.event_name, 'pull_request')"
+ uses: actions/checkout@v2
+ with:
+ ref: refs/pull/${{github.event.pull_request.number}}/merge
+ - name: checkout
+ if: ${{ github.event_name == 'push' }}
+ uses: actions/checkout@v2
+ - uses: check-spelling/check-spelling@v0.0.19
+ id: spelling
+ with:
+ shortest_word: 2