From cc83eb3b5b21a238e9b8aa6e4a5226da58484617 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 27 Feb 2025 17:07:45 +0100 Subject: [PATCH] Update check-spelling/check-spelling from 0.0.21 to 0.0.24 (backport from master) --- .github/actions/spell-check/expect.txt | 91 +++----------------------- .github/workflows/spelling3.yml | 77 ++++++++++++++-------- 2 files changed, 58 insertions(+), 110 deletions(-) diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 43b7f2bacd..a6fcfe7176 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -1,6 +1,5 @@ aaaarecord aaldering -abi aborttransaction Abraitis ACLTo @@ -26,7 +25,6 @@ alexa algoroll allocs Altpeter -amd Anderton anewid anid @@ -53,8 +51,6 @@ Ascio Asenov ASEP Ashish -asnum -aspx associateddomain asyncresolve Atlassian @@ -121,7 +117,6 @@ Binero binlog bitmaps bla -blackhole Bleker blockfilter blogpost @@ -173,7 +168,6 @@ cds Cegetel Cerb certusage -CFLAGS CGNAT changeme changetype @@ -189,13 +183,13 @@ Cloos closesocket clusions cmouse -cmsg cmsghdr -cname +cmsgs cnamechainresolution CNAMEd CNAMEDNS cnamerecord +cnames cnf cnn cockroachlabs @@ -213,12 +207,10 @@ conaxis configfile configname configsetting -configurability confs conntrack Conntracking Consolas -constexpr controllen controlsocket coprocess @@ -229,7 +221,6 @@ corpit costypetrisor coverity cppcheck -createdb createslavedomain Cremers criteo @@ -263,20 +254,17 @@ dbfile dblfilename dbpf dbr -DBX dcobject ddns deactivatedomainkey debian deboynepollard Deduktiva -dedup defcontent defpol defttl Dehaine DENIC -deref descclassname descname Dessel @@ -295,7 +283,6 @@ dilinger Dimitrios Directi Disqus -distro djbdns dlerror dlg @@ -317,7 +304,6 @@ dnsdomain dnsext dnsgram dnskey -dnsmessage dnsname dnsnameset dnsop @@ -328,6 +314,7 @@ dnsquestion DNSR dnsrecord dnsreplay +dnsresourcerecord dnsscan dnsscope dnssec @@ -343,9 +330,7 @@ dnswasher dnszone Dobrawy docnamecachelookup -documentclass documentwrapper -dofile Dohmen domaininfo domainmetadata @@ -381,7 +366,6 @@ ech econds ECSDA ecswho -EDE editline edns ednsbufsiz @@ -393,7 +377,6 @@ edu ejones Ekkelenkamp elgoog -Emph Enden ent envoutput @@ -416,7 +399,6 @@ ezdns Faerch failedservers farsightsec -fcgi fcontext fedoraproject feedents @@ -430,7 +412,6 @@ firewalled firewalls fixednow Florus -fontname footerbgcolor footertextcolor forfun @@ -456,7 +437,6 @@ gaba gacogne gatech Gavarret -gcc gdpr Geijn genindex @@ -475,7 +455,6 @@ getcarbonhostname getdomaininfo getdomainkeys getdomainmetadata -gethostname getifaddrs getlocaladdress getn @@ -483,7 +462,6 @@ getrandom getregisteredname gettag gettime -gettimeofday gettsigkey Geuze GFm @@ -493,7 +471,6 @@ Gillstrom Gkey gmake Gmb -gmtime GMy gmysql gmysqlbackend @@ -515,11 +492,9 @@ gsql gsqlite gss gssapi -gsub gtld guilabel Gyselinck -hackerone Hakulinen Hannu Harker @@ -552,7 +527,6 @@ Hotmail howto hpecorp hpiers -hpp htbp htmlescape htmlhelp @@ -561,17 +535,14 @@ httpdomain hubert iana icann -ico ict idprotect -idx iers ietf ifportup ifurlextup ifurlup ihsinme -illumos Imhard incbin includeboilerplate @@ -598,8 +569,7 @@ iputils isane ismaster isoc -isp -ispell +ISPs isql ixfr ixfrdist @@ -635,7 +605,6 @@ Kerkhof KEYBITS keyblock keydir -keyfile keyname keypair keypairgen @@ -697,7 +666,6 @@ letterpaper libatomic libcrypto libcryptopp -libcurl libdecaf libdir libedit @@ -751,7 +719,6 @@ loweralpha lowerroman Lrhazi lsock -lto luaaction luabackend luac @@ -772,7 +739,6 @@ malcrafted mallocs malware Mamane -manpages mapasync Mapbox mariadb @@ -801,7 +767,6 @@ metricnames metricscarbon Meulen Michiel -middleware Miek Miell Mieslinger @@ -809,7 +774,6 @@ Milas Mimimization minbody mindex -MINFO minipatch Mischan mjt @@ -854,7 +818,6 @@ mysqld myuser mywebapp namedroppers -nameserver nameserving naptr Nauck @@ -891,7 +854,6 @@ noaction noad noall nocookie -NODELAY noedns noerrors NOLOCK @@ -905,7 +867,6 @@ noout noping noport norve -nosniff nostrip NOSUBDIR nosync @@ -921,7 +882,6 @@ NPTL NSes nsid nsis -nsl nsrecord nsset nsspeeds @@ -943,7 +903,6 @@ obidos objectclass Obser obspm -odbc odbcbackend odbcinst Oddy @@ -951,7 +910,6 @@ Odintsov Oestreicher offsite oftc -OIDs Olafur Omroep openapis @@ -959,6 +917,7 @@ opendbx openpgpkey openports opensc +opensuse openwall Opmeer OPNUM @@ -969,7 +928,6 @@ oraclebackend ordername orsn Oservers -OSX otherdomain otherpool ourname @@ -985,8 +943,6 @@ packethandler papersize paramater PARAMKEYWORDS -passthrough -passthru PATC patchlevels pathconfig @@ -1016,7 +972,6 @@ pgmysql pgmysqlbackend pgp pgpsql -pgsql phishing phonedph pickclosest @@ -1061,14 +1016,9 @@ Preproc prequery prerpz presignedness -PRId primetime -princ prioritization -privatekey privs -progid -protobuf protozero providername proxymapping @@ -1078,7 +1028,6 @@ pseudonymize pseudorecord pthread ptrrecord -ptrs Publieke publishdomainkey pullreq @@ -1091,7 +1040,6 @@ qlen Qlim qname qperq -qps QPSIP qpslimits QRate @@ -1153,7 +1101,7 @@ removedomainkey replacerrset requery resolv -respawn +respawned respawning respout respsizes @@ -1162,6 +1110,7 @@ retransfering reuseds reuseport RFCs +rhel Rietz rightsidebar Rijsdijk @@ -1173,13 +1122,11 @@ rocommunity Roel Rosmalen roundrobin -RPATH rping rpms rpz rpzstatistics rrcontent -rrd rrdata rrdtool rrname @@ -1241,7 +1188,6 @@ shnya showdetails showflags Shukla -sid sidebarbgcolor sidebarbtncolor sidebarbutton @@ -1258,7 +1204,6 @@ Signingpiper signpipe signttl signzone -sigs singlethreaded Sipek siphash @@ -1273,9 +1218,6 @@ smn Smurthwaite Snarked sndbuf -snmp -snmpd -snprintf soa soadata soarecord @@ -1308,7 +1250,6 @@ srandom srcname SRecord Srule -srv sshfp ssi SSQ @@ -1333,13 +1274,11 @@ Storesund stou strcasestr stringmatch -strpos stubquery stubresolver Stussy stutiredboy -subdomain -subkey +subkeys submitters subnetmask suffixmatchtree @@ -1369,7 +1308,6 @@ taskqueue tbhandler tcely TCounters -tcp tcpconnecttimeouts tcpdump TCPKEEPALIVE @@ -1382,7 +1320,6 @@ tds teeaction Telenet testsdir -textcolor Tful thel thelog @@ -1404,15 +1341,12 @@ tinydns tinydnsbackend tisr tlsa -tlsresumptions -tmp tmpfs tobool toctree todos toint tokenuser -tolower Tolstov Toosarani Toshifumi @@ -1423,7 +1357,6 @@ trusteer trx trxid TSAN -tsc tsig tsigalgo tsigkey @@ -1440,7 +1373,6 @@ Tushuizen Tuxis TVJRU tylerneylon -typedefs typenames ualberta udpqueryresponse @@ -1451,7 +1383,6 @@ UIDs Uisms unauth unbreak -uncached unescaping unfresh unhash @@ -1474,10 +1405,8 @@ upgradeable upperalpha upperroman urandom -usec usecase userbase -userspace uwaterloo Valentei Valentini @@ -1525,7 +1454,6 @@ Wielicki Wijk Wijnand Wijngaards -wikipedia wil wildcarded Willcott @@ -1536,7 +1464,7 @@ wirelength Wisiol wmem Wojas -workaround +workarounds Worldnic would've wouter @@ -1562,7 +1490,6 @@ Yehuda yeswehack Yiu Ylitalo -yml YMMV Yogesh yourcompany diff --git a/.github/workflows/spelling3.yml b/.github/workflows/spelling3.yml index 5888f89a12..1f0c5fd2b5 100644 --- a/.github/workflows/spelling3.yml +++ b/.github/workflows/spelling3.yml @@ -11,12 +11,10 @@ on: pull_request: branches: - "**" - tags-ignore: - - "**" types: - - 'opened' - - 'reopened' - - 'synchronize' + - "opened" + - "reopened" + - "synchronize" jobs: spelling: @@ -24,6 +22,8 @@ jobs: permissions: # contents-read is needed to checkout in private repositories contents: read + # pull-requests-read is needed for suppress_push_for_open_pull_request in private repositories + pull-requests: read # actions-read is needed (possibly only for private repositories) # to identify the workflow's filename until # https://github.com/actions/runner/issues/853 is fixed @@ -34,31 +34,52 @@ jobs: outputs: followup: ${{ steps.spelling.outputs.followup }} runs-on: ubuntu-latest - if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'" + if: ${{ contains(github.event_name, 'pull_request') || github.event_name == 'push' }} concurrency: group: spelling-${{ github.event.pull_request.number || github.ref }} # note: If you use only_check_changed_files, you do not want cancel-in-progress cancel-in-progress: true steps: - - name: check-spelling - id: spelling - uses: check-spelling/check-spelling@v0.0.21 - with: - config: .github/actions/spell-check - checkout: true - spell_check_this: check-spelling/spell-check-this@prerelease - post_comment: 0 - use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} - extra_dictionaries: - cspell:software-terms/src/software-terms.txt - cspell:python/src/python/python-lib.txt - cspell:node/node.txt - cspell:python/src/common/extra.txt - cspell:fullstack/fullstack.txt - cspell:html/html.txt - cspell:aws/aws.txt - cspell:npm/npm.txt - cspell:cpp/src/stdlib-cpp.txt - cspell:python/src/python/python.txt - cspell:django/django.txt - check_extra_dictionaries: '' + - name: check-spelling + id: spelling + uses: check-spelling/check-spelling@v0.0.24 + with: + config: .github/actions/spell-check + suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }} + checkout: true + check_file_names: 1 + spell_check_this: powerdns/pdns@master + post_comment: 0 + use_magic_file: 1 + warnings: bad-regex,binary-file,deprecated-feature,ignored-expect-variant,large-file,limited-references,no-newline-at-eof,noisy-file,non-alpha-in-dictionary,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check,unclosed-block-ignore-begin,unclosed-block-ignore-end + use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} + extra_dictionaries: | + cspell:software-terms/dict/softwareTerms.txt + cspell:python/src/common/extra.txt + cspell:node/dict/node.txt + cspell:php/dict/php.txt + cspell:python/src/python/python-lib.txt + cspell:python/src/python/python.txt + cspell:fullstack/dict/fullstack.txt + cspell:golang/dict/go.txt + cspell:aws/aws.txt + cspell:k8s/dict/k8s.txt + cspell:cpp/src/stdlib-cpp.txt + cspell:filetypes/filetypes.txt + cspell:typescript/dict/typescript.txt + cspell:html/dict/html.txt + cspell:django/dict/django.txt + cspell:java/src/java.txt + cspell:dotnet/dict/dotnet.txt + cspell:r/src/r.txt + cspell:npm/dict/npm.txt + cspell:lisp/lisp.txt + cspell:cpp/src/lang-jargon.txt + cspell:rust/dict/rust.txt + cspell:cpp/src/lang-keywords.txt + cspell:latex/dict/latex.txt + cspell:cpp/src/stdlib-c.txt + cspell:cpp/src/ecosystem.txt + cspell:lua/dict/lua.txt + cspell:java/src/java-terms.txt + check_extra_dictionaries: '' -- 2.47.2