37 lines
991 B
YAML
37 lines
991 B
YAML
name: "Validate"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
# schedule:
|
|
# - cron: "0 0 * * *"
|
|
# push:
|
|
# branches:
|
|
# - "main"
|
|
pull_request:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
|
|
name: "Hassfest Validation"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Checkout the repository"
|
|
uses: "actions/checkout@v3.5.3"
|
|
|
|
- name: "Run hassfest validation"
|
|
uses: "home-assistant/actions/hassfest@master"
|
|
|
|
hacs: # https://github.com/hacs/action
|
|
name: "HACS Validation"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Checkout the repository"
|
|
uses: "actions/checkout@v3.5.3"
|
|
|
|
- name: "Run HACS validation"
|
|
uses: "hacs/action@main"
|
|
with:
|
|
category: "integration"
|
|
# Remove this 'ignore' key when you have added brand images for your integration to https://github.com/home-assistant/brands
|
|
ignore: "brands" |