Add validation actions (#693)
* Add validation action * Clean-up yaml Removed trailing spaces * Clean-up yaml Removed trailing spaces * Clean-up yaml Removed trailing spaces * Clean-up yaml Removed trailing spaces * Clean-up yaml Removed trailing spaces * Update validate_yaml.yml * Validate on push Only for nspanel_esphome.yaml and nspanel_blueprint.yaml * Extending warnings for +255-char lines * Update validate_yaml.yml * Clean-up yaml * Update validate_yaml.yml * Clean-up yaml * Clean-up yaml * Clean-up yaml * Clean-up yaml * Clean-up yaml * Update and rename validate_yaml.yml to validate_blueprint.yml * Create validate_esphome.yml * Clean-up yaml
This commit is contained in:
19
.github/workflows/validate_blueprint.yml
vendored
Normal file
19
.github/workflows/validate_blueprint.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Validate Blueprint YAML
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "nspanel_blueprint.yaml"
|
||||
pull_request:
|
||||
#schedule:
|
||||
# - cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
code_scan:
|
||||
name: Validate Blueprint YAML
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Validate nspanel_blueprint.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_blueprint.yaml
|
||||
19
.github/workflows/validate_esphome.yml
vendored
Normal file
19
.github/workflows/validate_esphome.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Validate ESPHome YAML
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "nspanel_esphome.yaml"
|
||||
pull_request:
|
||||
#schedule:
|
||||
# - cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
code_scan:
|
||||
name: Validate Blueprint YAML
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Validate nspanel_esphome.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
|
||||
Reference in New Issue
Block a user