From 1ae2d2d6604e97e1e444ae0a08c361d97c1144d5 Mon Sep 17 00:00:00 2001 From: Konstantin Pivnov Date: Thu, 15 Aug 2024 17:22:46 +0300 Subject: [PATCH] added validating workflows --- .github/workflows/hacs.yaml | 18 ++++++++++++++++++ .github/workflows/hassfest.yaml | 14 ++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/hacs.yaml create mode 100644 .github/workflows/hassfest.yaml diff --git a/.github/workflows/hacs.yaml b/.github/workflows/hacs.yaml new file mode 100644 index 0000000..f92fd9e --- /dev/null +++ b/.github/workflows/hacs.yaml @@ -0,0 +1,18 @@ +name: HACS + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + - name: HACS validation + uses: "hacs/action@main" + with: + category: "integration" diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml new file mode 100644 index 0000000..d203eda --- /dev/null +++ b/.github/workflows/hassfest.yaml @@ -0,0 +1,14 @@ +name: Validate with hassfest + +on: + push: + pull_request: + schedule: + - cron: '0 0 * * *' + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + - uses: "home-assistant/actions/hassfest@master"