Disable automatic lights when movie scene becomes active #85
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/prettier_action@v4.3 | |
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/action-home-assistant@v1.4 | |
with: | |
path: "." | |
version: stable |