From 98942c0b4f7cf89f9edab5c1c813dd68ff33f258 Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:24:59 +0800 Subject: [PATCH] Update check_yaml_name.yml (#341) --- .github/workflows/check_yaml_name.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check_yaml_name.yml b/.github/workflows/check_yaml_name.yml index 2d56c1c..8860858 100644 --- a/.github/workflows/check_yaml_name.yml +++ b/.github/workflows/check_yaml_name.yml @@ -19,6 +19,7 @@ jobs: find . -type f \( -name "docker-compose.yaml" -or -name "docker-compose.yml" \) | while read -r file; do if ! grep -qP '^name:\s[a-z0-9_-]*$' "$file"; then echo "There is a problem with the value of name in the submitted yaml, please make sure the value is in the range [a-z0-9_-]. And error file name:$file" + cat $file exit 1 fi done