Skip to content

Commit f46cfb6

Browse files
committed
workflows/check_for_guideline_rules.yml: Upd workflow for check-guideline
Updated the workflow so that deleted files are not passed as parameters to check_guideline.py Updated checkout version Signed-off-by: Elena-Hadarau_adi <Elena.Hadarau@analog.com>
1 parent c59fa2c commit f46cfb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check_for_guideline_rules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# version range
2626
python-version: '3.10'
2727
- name: Checkout repository code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6.0.0
2929
# repository that retrieves all the changed files
3030
- name: Load get-changed-files repo
3131
uses: Ana06/get-changed-files@v2.3.0
@@ -35,11 +35,11 @@ jobs:
3535
- name: Print changed files
3636
run: |
3737
echo "::group::Click here to see the Changed files"
38-
echo "${{ steps.changed_files.outputs.all }}"
38+
echo "${{ steps.changed_files.outputs.added_modified_renamed }}"
3939
echo "::endgroup::"
4040
- name: Executing Py script for guideline check
4141
id: execution
4242
# -p flag means that files will be specified with their relative path
4343
run: |
44-
python ./.github/scripts/check_guideline.py -p ${{ steps.changed_files.outputs.all }}
44+
python ./.github/scripts/check_guideline.py -p ${{ steps.changed_files.outputs.added_modified_renamed }}
4545
shell: sh

0 commit comments

Comments
 (0)