Skip to content

Validate Home Assistant Config #1149

Validate Home Assistant Config

Validate Home Assistant Config #1149

Workflow file for this run

name: Validate Home Assistant Config
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Lint Code Base
uses: github/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
home-assistant:
name: "Home Assistant Core ${{ matrix.version }} Configuration Check"
runs-on: ubuntu-latest
strategy:
matrix:
version: ["stable"]
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/checkout@v4
- name: 🚀 Run Home Assistant Configuration Check
uses: frenck/action-home-assistant@v1
with:
path: "."
secrets: .stub/fakesecrets.yaml
version: "${{ matrix.version }}"