From b9d8dfadca2fa2a166d727c3168ca07325bf7640 Mon Sep 17 00:00:00 2001 From: Darren Loher Date: Tue, 19 Sep 2023 17:05:42 -0700 Subject: [PATCH] Allow PEM cert file (#2156) --- tools/allowed_file_types.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/allowed_file_types.sh b/tools/allowed_file_types.sh index 36cca05a60a..13e7d4b491c 100755 --- a/tools/allowed_file_types.sh +++ b/tools/allowed_file_types.sh @@ -7,7 +7,7 @@ echo "Checking for allowed file types..." >&2 if find . -name .git -prune -o -name openconfig_public -prune -o \ -type f -exec file \{} \+ | - egrep -vi '(ASCII|UTF-8|JSON|Perl|shell)' + egrep -vi '(ASCII|UTF-8|JSON|Perl|shell|PEM certificate)' then echo "Error: files should be in plain text or non-empty." >&2 exitcode=1