From b4bb2ee014878d62b1ff160142bdc849aa7138da Mon Sep 17 00:00:00 2001 From: TroyFernandes Date: Fri, 30 Aug 2024 22:05:45 -0400 Subject: [PATCH 1/2] added runner for HACS + necessary fields --- .github/workflows/hacs.yaml | 16 ++++++++++++++++ custom_components/mqtt-mediaplayer/manifest.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/hacs.yaml diff --git a/.github/workflows/hacs.yaml b/.github/workflows/hacs.yaml new file mode 100644 index 0000000..3734327 --- /dev/null +++ b/.github/workflows/hacs.yaml @@ -0,0 +1,16 @@ +name: HACS Action + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - name: HACS validation + uses: "hacs/action@main" + with: + category: integration \ No newline at end of file diff --git a/custom_components/mqtt-mediaplayer/manifest.json b/custom_components/mqtt-mediaplayer/manifest.json index 54cb95d..d44d18a 100644 --- a/custom_components/mqtt-mediaplayer/manifest.json +++ b/custom_components/mqtt-mediaplayer/manifest.json @@ -4,9 +4,10 @@ "after_dependencies": [ "mqtt" ], - "codeowners": [], + "codeowners": ["@troyfernandes"], "documentation": "https://github.com/TroyFernandes/hass-mqtt-mediaplayer", "iot_class": "local_push", + "issue_tracker": "https://github.com/TroyFernandes/hass-mqtt-mediaplayer/issues", "requirements": [], "version": "1.0.0" } \ No newline at end of file From 71682866989e1df5efd7ab2708a870b8772051b0 Mon Sep 17 00:00:00 2001 From: TroyFernandes Date: Fri, 30 Aug 2024 22:13:30 -0400 Subject: [PATCH 2/2] added hacs.json --- hacs.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 hacs.json diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..1abbb49 --- /dev/null +++ b/hacs.json @@ -0,0 +1,5 @@ +{ + "name": "MQTT Media Player", + "render_readme": true, + "homeassistant": "2024.1.0" + } \ No newline at end of file