Skip to content

Validate

Validate #1093

Workflow file for this run

name: "Validate"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "main"
paths-ignore:
- 'custom_components/battery_notes/data/**'
- 'docs/**'
- 'README.md'
- 'library.md'
- 'mkdocs.yml'
pull_request:
branches:
- "main"
paths-ignore:
- 'custom_components/battery_notes/data/**'
- 'README.md'
- 'library.md'
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@v4"
- 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@v4"
- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"