Skip to content

Commit 8ca69d6

Browse files
committed
yamllint: more strict regex to capture only control files ending with .yml
1 parent c97c7cc commit 8ca69d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Run yamllint in Control Files Modified by PR
5050
if: ${{ env.CONTROLS_CHANGES == 'true' }}
5151
run: |
52-
for control_file in $(cat filenames.txt | grep "controls/"); do
52+
for control_file in $(cat filenames.txt | grep "controls/.*\.yml"); do
5353
echo "Running yamllint on $control_file..."
5454
yamllint "$control_file"
5555
done

0 commit comments

Comments
 (0)