Skip to content

Validate with hassfest #138

Validate with hassfest

Validate with hassfest #138

Workflow file for this run

name: Validate with hassfest
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
validate:
runs-on: "ubuntu-latest"
permissions:
contents: read
steps:
- name: "Check out repository"
uses: actions/checkout@v4
- name: "Move files to where hassfest expects them"
run: |
mkdir -p custom_components/ssh_command
find . -maxdepth 1 -not -name 'custom_components' -not -name '.' -exec mv {} custom_components/ssh_command/ \;
- name: "Run hassfest"
uses: home-assistant/actions/hassfest@master