Skip to content

HACS Action

HACS Action #243

Workflow file for this run

name: HACS Action
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
validate-hacs:
runs-on: "ubuntu-latest"
# Skip HACS validation on forks - only validate on main repo
if: github.repository == 'ccpk1/choreops' && (github.ref == 'refs/heads/main' || github.event_name == 'pull_request')
steps:
- uses: "actions/checkout@v5"
- name: HACS prerequisite guidance
run: |
echo "::notice::HACS validation requires a valid integration manifest at custom_components/choreops/manifest.json and a valid hacs.json file."
echo "::notice::The brands check also requires this integration to be registered in the Home Assistant brands repository custom domain catalog."
echo "::notice::If brands registration is pending, HACS may fail even when local lint/tests pass."
- name: HACS validation
uses: "hacs/action@main"
with:
category: integration
ignore: "brands"