Update lint-checks.yaml

This commit is contained in:
Alexandre
2022-01-22 21:51:51 +01:00
committed by GitHub
parent 43eec0d4be
commit 2a670f6652

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