Update lint-checks.yaml

This commit is contained in:
Alexandre
2022-01-22 21:50:09 +01:00
committed by GitHub
parent 248e47a3c9
commit 43eec0d4be

View File

@@ -23,7 +23,7 @@ jobs:
- name: 🔎 Run hadolint
run: for file in ${{ env.HADOLINT_FILES }}; do
if [[ "${{ steps.changed_files.outputs.all }}" =~ $file ]]; then
if [[ "${{ steps.changed_files.outputs.all }}" == **/"$file" ]]; then
hadolint "${{ steps.changed_files.outputs.all }}"
fi
done