Testing: skip the whole certs tree in the GitHub workflow line length check

pull/278/head
Chris Conlon 2026-09-09 17:42:51 -06:00
parent 086c8ef152
commit e9fa6c4b29
1 changed files with 4 additions and 2 deletions

View File

@ -68,8 +68,10 @@ jobs:
# Skip certificate/key files. These carry encoded key material
# and OpenSSL text dumps (long Issuer/Subject lines) that cannot
# be wrapped
if [[ "$file" =~ \.(pem|der)$ ]]; then
# be wrapped. Skip the whole certs tree since some files there
# (CRLs and similar) do not use a .pem or .der extension.
if [[ "$file" =~ ^examples/certs/ ]] || \
[[ "$file" =~ \.(pem|der)$ ]]; then
echo "Skipping $file (certificate/key file)"
continue
fi