From e6ac64c532718608efad130f0049a9e437af9dc8 Mon Sep 17 00:00:00 2001 From: Iulia Moldovan Date: Mon, 8 May 2023 15:55:32 +0300 Subject: [PATCH] py script & action: Update used repos version * Updated the versions for repos and this solved the deprecated command issue * Changed the end message for when the guideline is not followed Signed-off-by: Iulia Moldovan --- .github/scripts/check_guideline.py | 2 +- .github/workflows/check_for_guideline_rules.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/scripts/check_guideline.py b/.github/scripts/check_guideline.py index d56e5520a..95bf6cd42 100755 --- a/.github/scripts/check_guideline.py +++ b/.github/scripts/check_guideline.py @@ -1127,7 +1127,7 @@ else: print (file) if (not guideline_ok): - print("\nGuideline not respected\n") + print("\nGUIDELINE RULES ARE NOT FOLLOWED\n") sys.exit(1) else: sys.exit(0) diff --git a/.github/workflows/check_for_guideline_rules.yml b/.github/workflows/check_for_guideline_rules.yml index bd2a78f53..b39b6781a 100644 --- a/.github/workflows/check_for_guideline_rules.yml +++ b/.github/workflows/check_for_guideline_rules.yml @@ -22,15 +22,16 @@ jobs: uses: actions/checkout@v3 # repository that retrieves all the changed files - name: Load get-changed-files repo - uses: Ana06/get-changed-files@v1.2 + uses: Ana06/get-changed-files@v2.2.0 id: changed_files with: format: space-delimited - name: Print changed files run: | - echo "Changed files:" + echo "::group::Click here to see the Changed files" echo "${{ steps.changed_files.outputs.all }}" - - name: Execute py script for guideline check + echo "::endgroup::" + - name: Executing Py script for guideline check id: execution # -p flag means that files will be specified with their relative path run: |