From 3ea18021a1f177b4f95858f6f732374c6a75c196 Mon Sep 17 00:00:00 2001 From: Roeland Date: Thu, 29 Aug 2024 15:45:28 +0200 Subject: [PATCH] add validation actions --- .github/workflows/validate-hacs-repository.yml | 17 +++++++++++++++++ .../workflows/validate-integration-hassfest.yml | 12 ++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/validate-hacs-repository.yml create mode 100644 .github/workflows/validate-integration-hassfest.yml diff --git a/.github/workflows/validate-hacs-repository.yml b/.github/workflows/validate-hacs-repository.yml new file mode 100644 index 0000000..8369e39 --- /dev/null +++ b/.github/workflows/validate-hacs-repository.yml @@ -0,0 +1,17 @@ +name: HACS Action + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + hacs: + name: HACS Action + runs-on: "ubuntu-latest" + steps: + - name: HACS Action + uses: "hacs/action@main" + with: + category: "integration" \ No newline at end of file diff --git a/.github/workflows/validate-integration-hassfest.yml b/.github/workflows/validate-integration-hassfest.yml new file mode 100644 index 0000000..ebfa1a5 --- /dev/null +++ b/.github/workflows/validate-integration-hassfest.yml @@ -0,0 +1,12 @@ +name: Validate integration with hassfest + +on: + push: + pull_request: + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + - uses: "home-assistant/actions/hassfest@master" \ No newline at end of file