Only warn for low batteries and new entity names #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: ~ | |
jobs: | |
code-style: | |
name: Code style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run prettier | |
uses: creyD/[email protected] | |
with: | |
prettier_options: --check . | |
- name: Run yamllint | |
uses: frenck/action-yamllint@v1 | |
check: | |
name: Home Assistant config check | |
needs: code-style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup custom components | |
run: | | |
./scripts/update_resources init_custom_components | |
- name: Mock secrets | |
uses: golles/mock-yaml-secrets-action@v1 | |
with: | |
configFile: ".github/workflows/mock-secrets-config.json" | |
- name: Home Assistant configuration check | |
uses: frenck/[email protected] | |
with: | |
path: "." | |
version: stable |