mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update lint-checks.yaml
This commit is contained in:
6
.github/workflows/lint-checks.yaml
vendored
6
.github/workflows/lint-checks.yaml
vendored
@@ -22,7 +22,11 @@ jobs:
|
|||||||
uses: jitterbit/get-changed-files@v1
|
uses: jitterbit/get-changed-files@v1
|
||||||
|
|
||||||
- name: 🔎 Run hadolint
|
- name: 🔎 Run hadolint
|
||||||
run: hadolint "${{ steps.changed_files.outputs.all }}"
|
run: for files in ${{ steps.changed_files.outputs.all }}; do
|
||||||
|
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
|
||||||
|
hadolint "${{ steps.changed_files.outputs.all }}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
shellcheck:
|
shellcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user