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 <Iulia.Moldovan@analog.com>main
parent
5776511dd7
commit
e6ac64c532
|
@ -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)
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue