From 858ddd336e77200f3dcde19e3d366f2801cccdc0 Mon Sep 17 00:00:00 2001 From: Chad Auld Date: Thu, 20 Nov 2025 19:25:40 -0700 Subject: [PATCH] Add GitHub Actions workflows for HACS validation Add automated validation workflows for HACS and Hassfest to ensure repository meets quality standards for HACS default store inclusion. Workflows run on: - Every push and pull request - Daily at midnight UTC - Manual trigger via Actions tab Validates: - HACS repository structure and metadata - Home Assistant integration standards --- .github/workflows/validate.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/validate.yaml diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..488bbd7 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,29 @@ +name: Validate + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +permissions: {} + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + name: Validate with HACS + steps: + - name: HACS validation + uses: "hacs/action@main" + with: + category: "integration" + + validate-hassfest: + runs-on: "ubuntu-latest" + name: Validate with Hassfest + steps: + - name: Checkout code + uses: "actions/checkout@v4" + - name: Hassfest validation + uses: "home-assistant/actions/hassfest@master"