From: milzi234 Date: Mon, 25 Nov 2024 10:48:06 +0000 (+0100) Subject: Adds words to expect.txt to make linter happy. Also adds a recommended pattern for... X-Git-Tag: rec-5.2.0-rc1~21^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14767%2Fhead;p=thirdparty%2Fpdns.git Adds words to expect.txt to make linter happy. Also adds a recommended pattern for twitter links to patterns.txt and exempts website fonts and img directory from binary check --- diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 94224da5c4..af2a3c320f 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -263,7 +263,9 @@ Darron dataformat datatracker Daugaard +davidmillerskt Davids +davidtmiller Dayneko dbfile dblacka @@ -481,6 +483,7 @@ geobackend geoipbackend geolocated Georgeto +getbootstrap Gergely Gerritsen Gervai @@ -608,6 +611,7 @@ ipencrypt ipfilter IPSECKEY iputils +ironsummitmedia isane ismaster isoc @@ -777,6 +781,7 @@ mbed mbedtls MBOXFW mbytes +mdo Meerwald Mekking melpa @@ -1308,6 +1313,7 @@ sshfp ssi SSQ stacksize +startbootstrap starttransaction Stasic statbag @@ -1387,6 +1393,7 @@ Thessalonikefs Thiago thinko Thomassen +Thorton threadmessage throttlemap thrysoee diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt index 75ee27f110..ef5150ce51 100644 --- a/.github/actions/spell-check/patterns.txt +++ b/.github/actions/spell-check/patterns.txt @@ -183,3 +183,6 @@ DoH # scrypt / argon \$(?:scrypt|argon\d+[di]*)\$\S+ + +# Twitter status +\btwitter\.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 929470ae39..0038a02870 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -279,4 +279,4 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 2 - - run: if [[ "$(file -i --dereference $(git diff --name-only HEAD^..HEAD -- . :^fuzzing/corpus) | grep binary | grep -v 'image/' | grep -v 'inode/x-empty' | grep -v 'inode/directory' | grep -v '^modules/tinydnsbackend/data.cdb' | tee /dev/stderr)" != "" ]]; then exit 1; fi + - run: if [[ "$(file -i --dereference $(git diff --name-only HEAD^..HEAD -- . :^fuzzing/corpus) | grep binary | grep -v 'image/' | grep -v 'inode/x-empty' | grep -v 'inode/directory' | grep -v '^website/docs.powerdns.com/website/fonts/' | grep -v '^website/docs.powerdns.com/website/img/' | grep -v '^modules/tinydnsbackend/data.cdb' | tee /dev/stderr)" != "" ]]; then exit 1; fi