Check Home Assistant Configuration as a GitHub action!
This checks your github hosted configuration against Home Assistant versions.
If you have custom_components in your repository it will also install the requirements of those before running the configuration check.
name: "Run action"
on:
push:
branch:
- master
pull_request:
branch:
- master
jobs:
check:
name: Home Assistant Config Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Config Check
uses: kevstark/action-ha-config-check@master
input | description |
---|---|
config_path |
Relative path to your configuration if not in the root of the repository. |
name: "Run action"
on:
push:
branch:
- master
pull_request:
branch:
- master
jobs:
check:
name: Home Assistant Config Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Config Check
uses: kevstark/action-ha-config-check@master
with:
config_path: config