Lint
This commit is contained in:
5
.github/workflows/validate_yamllint.yml
vendored
5
.github/workflows/validate_yamllint.yml
vendored
@@ -35,7 +35,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
IFS=',' read -ra FILES <<< "${{ steps.changed-files.outputs.all_changed_files }}"
|
IFS=',' read -ra FILES <<< "${{ steps.changed-files.outputs.all_changed_files }}"
|
||||||
for file in "${FILES[@]}"; do
|
for file in "${FILES[@]}"; do
|
||||||
if [[ "$file" =~ ^nspanel_esphome.*\.yaml$ ]] || [[ "$file" =~ ^esphome/nspanel_esphome.*\.yaml$ ]] || [[ "$file" =~ ^prebuilt/nspanel_esphome.*\.yaml$ ]] || [[ "$file" == "nspanel_blueprint.yaml" ]]; then
|
if [[ "$file" =~ ^nspanel_esphome.*\.yaml$ ]] || \
|
||||||
|
[[ "$file" =~ ^esphome/nspanel_esphome.*\.yaml$ ]] || \
|
||||||
|
[[ "$file" =~ ^prebuilt/nspanel_esphome.*\.yaml$ ]] || \
|
||||||
|
[[ "$file" == "nspanel_blueprint.yaml" ]]; then
|
||||||
echo "Skipping $file"
|
echo "Skipping $file"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user