From 0be76b922491ab44da9488df7e15289c1314e735 Mon Sep 17 00:00:00 2001 From: Johannes Braun Date: Sun, 6 Mar 2022 22:47:37 +0100 Subject: [PATCH] add github workflow for hacs --- .github/workflows/hacs-validation.yaml | 18 ++++++++++++++++++ .github/workflows/hassfest.yaml | 14 ++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/hacs-validation.yaml create mode 100644 .github/workflows/hassfest.yaml diff --git a/.github/workflows/hacs-validation.yaml b/.github/workflows/hacs-validation.yaml new file mode 100644 index 00000000..5acb5172 --- /dev/null +++ b/.github/workflows/hacs-validation.yaml @@ -0,0 +1,18 @@ +name: Validate with HACS + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + hacs: + name: HACS Action + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v2" + - name: HACS Action + uses: "hacs/action@main" + with: + category: "appdaemon" diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml new file mode 100644 index 00000000..cfa0f62f --- /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@v2" + - uses: "home-assistant/actions/hassfest@master" \ No newline at end of file