From 202b3fdf875a8794203c35c4350d6671381e1442 Mon Sep 17 00:00:00 2001 From: Patrick762 Date: Sat, 29 Jul 2023 20:33:39 +0200 Subject: [PATCH] added hacs workflows --- .github/workflows/HACS.yml | 19 +++++++++++++++++++ .github/workflows/hassfest_validation.yml | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/HACS.yml create mode 100644 .github/workflows/hassfest_validation.yml diff --git a/.github/workflows/HACS.yml b/.github/workflows/HACS.yml new file mode 100644 index 0000000..d685592 --- /dev/null +++ b/.github/workflows/HACS.yml @@ -0,0 +1,19 @@ +name: HACS Action + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + hacs: + name: HACS Action + runs-on: "ubuntu-latest" + steps: + - name: HACS Action + uses: "hacs/action@main" + with: + category: "integration" diff --git a/.github/workflows/hassfest_validation.yml b/.github/workflows/hassfest_validation.yml new file mode 100644 index 0000000..358c61a --- /dev/null +++ b/.github/workflows/hassfest_validation.yml @@ -0,0 +1,16 @@ +name: Validate with hassfest + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - uses: "home-assistant/actions/hassfest@master"