From d145b117f2d71736caf3ff259f2162a28004654f Mon Sep 17 00:00:00 2001 From: Sebastien Lavoie Date: Sun, 29 Mar 2026 08:40:43 -0400 Subject: [PATCH] feat: add HACS and hassfest CI validation --- .github/workflows/validate.yml | 29 +++++++++++++++++++++++++++ custom_components/dkncloudna/.gitkeep | 0 hacs.json | 5 +++++ 3 files changed, 34 insertions(+) create mode 100644 .github/workflows/validate.yml create mode 100644 custom_components/dkncloudna/.gitkeep create mode 100644 hacs.json diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..32042cb --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,29 @@ +name: Validate + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" + push: + branches: [main] + pull_request: + branches: [main] + +permissions: {} + +jobs: + hassfest: + name: Hassfest validation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: home-assistant/actions/hassfest@master + + hacs: + name: HACS validation + runs-on: ubuntu-latest + steps: + - uses: hacs/action@main + with: + category: integration + ignore: brands diff --git a/custom_components/dkncloudna/.gitkeep b/custom_components/dkncloudna/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..6931c20 --- /dev/null +++ b/hacs.json @@ -0,0 +1,5 @@ +{ + "name": "DKN Cloud NA", + "homeassistant": "2024.1.0", + "hacs": "2.0.0" +}