/action-ha-config-check

Check Home Assistant Configuration

Primary LanguageShellMIT LicenseMIT

Home Assistant Configuration Check

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.

Basic example

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

Inputs

input description
config_path Relative path to your configuration if not in the root of the repository.

Example with inputs

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