Testing: skip the whole certs tree in the GitHub workflow line length check
parent
086c8ef152
commit
e9fa6c4b29
|
|
@ -68,8 +68,10 @@ jobs:
|
||||||
|
|
||||||
# Skip certificate/key files. These carry encoded key material
|
# Skip certificate/key files. These carry encoded key material
|
||||||
# and OpenSSL text dumps (long Issuer/Subject lines) that cannot
|
# and OpenSSL text dumps (long Issuer/Subject lines) that cannot
|
||||||
# be wrapped
|
# be wrapped. Skip the whole certs tree since some files there
|
||||||
if [[ "$file" =~ \.(pem|der)$ ]]; then
|
# (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)"
|
echo "Skipping $file (certificate/key file)"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue