mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-06 03:44:53 +01:00
Update lint-checks.yaml
This commit is contained in:
3
.github/workflows/lint-checks.yaml
vendored
3
.github/workflows/lint-checks.yaml
vendored
@@ -1,4 +1,3 @@
|
|||||||
# shellcheck disable=SC2043
|
|
||||||
---
|
---
|
||||||
name: Lint / Syntax checks
|
name: Lint / Syntax checks
|
||||||
|
|
||||||
@@ -22,6 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔎 Run hadolint
|
- name: 🔎 Run hadolint
|
||||||
run: |
|
run: |
|
||||||
|
# shellcheck disable=SC2043
|
||||||
for files in ${{ steps.changed_files.outputs.all }}; do
|
for files in ${{ steps.changed_files.outputs.all }}; do
|
||||||
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
|
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
|
||||||
echo "Hadolint $files"
|
echo "Hadolint $files"
|
||||||
@@ -42,6 +42,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔎 Run ShellCheck
|
- name: 🔎 Run ShellCheck
|
||||||
run: |
|
run: |
|
||||||
|
# shellcheck disable=SC2043
|
||||||
for files in ${{ steps.changed_files.outputs.all }}; do
|
for files in ${{ steps.changed_files.outputs.all }}; do
|
||||||
if [[ "$files" == *".sh" ]]; then
|
if [[ "$files" == *".sh" ]]; then
|
||||||
echo "Spellcheck $files"
|
echo "Spellcheck $files"
|
||||||
|
|||||||
Reference in New Issue
Block a user