add spelling check to github actions (#4314)

* add spelling check to github actions
* fix typos in .conf file
This commit is contained in:
openoms 2023-12-12 20:23:49 +01:00 committed by GitHub
parent 275f996226
commit 0a9ce40ff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 7 deletions

20
.github/workflows/spelling.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Spelling
on:
workflow_dispatch:
push:
branches: ["dev", "v1.10", "v1.11"]
pull_request:
branches: ["dev", "v1.10", "v1.11"]
jobs:
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Spell Check Repo
uses: crate-ci/typos@master
with:
config: typos.toml

View File

@ -1,4 +1,4 @@
# Boostrap the RaspiBlitz # Bootstrap the RaspiBlitz
# /etc/systemd/system/bootstrap.service # /etc/systemd/system/bootstrap.service
[Unit] [Unit]

View File

@ -63,7 +63,7 @@
#### basic information about the blockchain #### basic information about the blockchain
#### --> https://developer.bitcoin.org/reference/rpc/getblockchaininfo.html #### --> https://developer.bitcoin.org/reference/rpc/getblockchaininfo.html
## ##
## Most usefull fields... ## Most useful fields...
## * blocks ## * blocks
## * headers ## * headers
## * verificationprogress ## * verificationprogress
@ -79,7 +79,7 @@
#### basic information about the mempool #### basic information about the mempool
#### --> https://developer.bitcoin.org/reference/rpc/getmempoolinfo.html #### --> https://developer.bitcoin.org/reference/rpc/getmempoolinfo.html
## ##
## Most usefull fields... ## Most useful fields...
## * loaded (boolean) True if the mempool is fully loaded ## * loaded (boolean) True if the mempool is fully loaded
## * size (numeric) Current tx count ## * size (numeric) Current tx count
## * usage (numeric) Total memory usage for the mempool ## * usage (numeric) Total memory usage for the mempool
@ -95,7 +95,7 @@
#### information about network traffic, including bytes in, bytes out, and current time window #### information about network traffic, including bytes in, bytes out, and current time window
#### --> https://developer.bitcoin.org/reference/rpc/getnettotals.html #### --> https://developer.bitcoin.org/reference/rpc/getnettotals.html
## ##
## Most usefull fields... ## Most useful fields...
## * totalbytesrecv ## * totalbytesrecv
## * totalbytessent ## * totalbytessent
## ##
@ -136,7 +136,7 @@
#### basic information about the LN node #### basic information about the LN node
#### --> https://api.lightning.community/#getinfo #### --> https://api.lightning.community/#getinfo
## ##
## Most usefull fields... ## Most useful fields...
## * block_height ## * block_height
## * num_peers ## * num_peers
## * num_active_channels ## * num_active_channels
@ -160,7 +160,7 @@
## ##
## * publicIP from /mnt/hdd/raspiblitz.conf ## * publicIP from /mnt/hdd/raspiblitz.conf
## * bitcoind node ip address via: bitcoin-cli getnetworkinfo => "localaddresses" ## * bitcoind node ip address via: bitcoin-cli getnetworkinfo => "localaddresses"
## * lnd ip addess via: lncli getinfo => "uris" ## * lnd ip address via: lncli getinfo => "uris"
## * IPv6 global from eth0/wlan0 ## * IPv6 global from eth0/wlan0
## * IPv4 local network address from eth0/wlan0 ## * IPv4 local network address from eth0/wlan0
## ##

View File

@ -6,7 +6,7 @@
[files] [files]
# skip these files # skip these files
extend-exclude = ["*.nodes","*.torrent","*.sh","*.py","*.proto","*.conf","*.json","*.service"] extend-exclude = ["*.nodes","*.torrent","*.sh","*.py","*.proto","*.json"]
[default.extend-words] [default.extend-words]
# don't correct these false positives # don't correct these false positives