From 8edc8c087ab03e59dcba473b000b4d31075e40c1 Mon Sep 17 00:00:00 2001 From: Vishal Date: Thu, 4 Aug 2022 22:53:13 +0530 Subject: [PATCH] Update MetaData.yml --- .github/workflows/MetaData.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/MetaData.yml b/.github/workflows/MetaData.yml index 72e4c45..78d8980 100644 --- a/.github/workflows/MetaData.yml +++ b/.github/workflows/MetaData.yml @@ -19,4 +19,7 @@ jobs: - name: Check MetaData run: | echo "Analyzing All Py Files" - cat $(git ls-files '*.py') | grep "# ba_meta require api 7" + for pyfile in $(git ls-files '*.py'); do + cat $pyfile | grep "# ba_meta require api 7" > /dev/null || (echo "$pyfile doesn't have the MetaData present in it." && exit 1) + done + echo "All Py Files have MetaData present in them."