From 362975b90b38c83102b87c0a65c80d0be05074b6 Mon Sep 17 00:00:00 2001 From: "Michael K. Avanessian" Date: Fri, 2 Feb 2024 17:47:59 -0800 Subject: [PATCH] Added files necessary to make integration searchable on HACS --- .github/workflows/hassfest.yaml | 14 ++++++++++++++ .github/workflows/validate.yaml | 18 ++++++++++++++++++ .../plex_recently_added/manifest.json | 2 +- hacs.json | 5 +++++ 4 files changed, 38 insertions(+), 1 deletion(-) 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/custom_components/plex_recently_added/manifest.json b/custom_components/plex_recently_added/manifest.json index a689825..8d148ee 100644 --- a/custom_components/plex_recently_added/manifest.json +++ b/custom_components/plex_recently_added/manifest.json @@ -6,4 +6,4 @@ "dependencies": [], "codeowners": ["@maykar"], "requirements": [] - } +} diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..4e84ddf --- /dev/null +++ b/hacs.json @@ -0,0 +1,5 @@ +{ + "name": "Plex Recently Added", + "content_in_root": false, + "domains": ["sensor"] +}