Update validate_yamllint.yml
This commit is contained in:
6
.github/workflows/validate_yamllint.yml
vendored
6
.github/workflows/validate_yamllint.yml
vendored
@@ -35,11 +35,7 @@ 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$ ]]
|
if [[ "$file" =~ ^nspanel_esphome.*\.yaml$ ]] || [[ "$file" =~ ^esphome/nspanel_esphome.*\.yaml$ ]] || [[ "$file" =~ ^prebuilt/nspanel_esphome.*\.yaml$ ]] || [[ "$file" == "nspanel_blueprint.yaml" ]]; then
|
||||||
|| [[ "$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