Update spell.yml (#32132)
* Update spell.yml
Update the spell checker used
* Update .wordlist.txt
Remove defaultValue, an example of the camelcase we are working around, to trigger test on PR
* Update .spellcheck.yml camelcase true
* Update spell.yml
* Wordlist camelcase removal
* Update .wordlist.txt
diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt
index 155e909..d92158e 100644
--- a/.github/.wordlist.txt
+++ b/.github/.wordlist.txt
@@ -14,29 +14,19 @@
ABI
ABIs
ables
-AccessControl
-AccessControlEntry
+accesscontrol
accessor
Accessors
-AccountLogin
acdbc
ack
ACKed
ACL
ACLs
actdiag
-AdapterAddress
-AdapterName
adb
AddNOC
-AddOrUpdateThreadNetwork
-AddOrUpdateWiFiNetwork
addr
-AddResponse
-AddThreadNetwork
-AddStatus
adk
-AdministratorCommissioning
adoc
adr
AdvAutonomous
@@ -48,7 +38,6 @@
aef
AES
AIDL
-AlarmCode
algs
alloc
Ameba
@@ -61,15 +50,12 @@
AnnounceOTAProviderRequest
APIs
apk
-AppConfig
AppImpl
AppleTV
appliable
-ApplianceControl
applianceeventsandalert
ApplianceIdentification
appliancestatistics
-ApplicationBasic
ApplicationId
ApplicationIdentifier
ApplicationLauncher
@@ -171,7 +157,6 @@
breakpoint
bredr
BridgedDeviceBasicInformation
-bridgedLightEndpoint
bringup
BroadcastReceiver
BromateConcentrationMeasurement
@@ -259,9 +244,6 @@
cloudbuild
CLRF
clusterAttrs
-clusterId
-clusterList
-clusterListName
ClusterName
ClusterObjectTests
ClusterRevision
@@ -315,7 +297,6 @@
ContentAppPlatform
ContentLaunch
ContentLauncher
-continuousHinting
contrib
controllee
conv
@@ -382,7 +363,6 @@
DefaultOTARequestorDriver
DefaultOTARequestorStorage
DefaultSuccess
-defaultValue
definedValue
DehumidificationControl
DelayedActionTime
@@ -415,9 +395,7 @@
DeviceNetworkProvisioningDelegate
DeviceNetworkProvisioningDelegateImpl
DevicePairingDelegate
-deviceSoftwareVersionModel
DeviceTemperatureConfiguration
-deviceType
DevKitC
DevKitM
devtype
@@ -511,8 +489,6 @@
EnableWiFiNetwork
endian
EndpointId
-endpointName
-endsWith
eno
entrypoint
enum
@@ -580,7 +556,6 @@
FluorideConcentrationMeasurement
focusable
forkpty
-formatOnSave
FOTA
FreeRTOS
FreeRTOSConfig
@@ -614,7 +589,6 @@
getManualTests
GetSafeAttributePersistenceProvider
getstarted
-getTests
GH
ghcr
ghp
@@ -639,8 +613,6 @@
Groupcast
GroupId
GroupKeyManagement
-groupKeySecurityPolicy
-groupKeySetID
groupsettings
gsdk
gtk
@@ -694,8 +666,6 @@
ifdef
ifdefs
IGMP
-ignoreApplyUpdate
-ignoreQueryImage
ihex
IlluminanceMeasurement
IM
diff --git a/.github/workflows/spell.yml b/.github/workflows/spell.yml
index 5759337..1e8194a 100644
--- a/.github/workflows/spell.yml
+++ b/.github/workflows/spell.yml
@@ -25,19 +25,20 @@
- ".github/.wordlist.txt"
jobs:
- check-reviewdog:
- name: Check Spelling - reviewdog
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- - uses: reviewdog/action-misspell@v1
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
+# Seems redundant; removed as pyspelling is customized while this is not
+# check-reviewdog:
+# name: Check Spelling - reviewdog
+# runs-on: ubuntu-latest
+# steps:
+# - name: Checkout
+# uses: actions/checkout@v4
+# - uses: reviewdog/action-misspell@v1
+# with:
+# github_token: ${{ secrets.GITHUB_TOKEN }}
check-spellcheck:
name: Check Spelling - pyspelling
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- - uses: igsekor/pyspelling-any@v1.0.4
+ - uses: rojopolis/spellcheck-github-actions@0.36.0
diff --git a/.spellcheck.yml b/.spellcheck.yml
index c048808..27a48c7 100644
--- a/.spellcheck.yml
+++ b/.spellcheck.yml
@@ -68,3 +68,4 @@
- '**/*.md|!third_party/**|!examples/common/**/repo/**|!docs/ERROR_CODES.md|!docs/clusters.md|!docs/testing/yaml_schema.md|!docs/testing/yaml_pseudocluster.md'
aspell:
ignore-case: true
+ camel-case: true