From b6b65cdf39d5b98955c864c253df7cf462fd8915 Mon Sep 17 00:00:00 2001 From: "Michael K. Avanessian" Date: Fri, 2 Feb 2024 17:39:14 -0800 Subject: [PATCH] Added files necessary to make integration searchable on HACS --- .github/workflows/hassfest.yaml | 14 ++++++++++++++ .github/workflows/validate.yaml | 18 ++++++++++++++++++ hacs.json | 5 +++++ 3 files changed, 37 insertions(+) create mode 100644 .github/workflows/hassfest.yaml create mode 100644 .github/workflows/validate.yaml create mode 100644 hacs.json diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml new file mode 100644 index 0000000..07d1dda --- /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@v3" + - uses: home-assistant/actions/hassfest@master diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..c422ec3 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,18 @@ +name: Validate + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - name: HACS validation + uses: "hacs/action@main" + with: + category: "integration" diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..40049bb --- /dev/null +++ b/hacs.json @@ -0,0 +1,5 @@ +{ + "name": "Sonarr Upcoming Media", + "content_in_root": false, + "domains": ["sensor"] +}