chore: update to riddix ownership and improve workflows

This commit is contained in:
RiDDiX
2026-01-25 22:22:13 +01:00
parent 9c899ad34c
commit 3b1eacbfae
7 changed files with 194 additions and 132 deletions

29
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
name: Validate Addon Config
steps:
- uses: actions/checkout@v4
- name: Validate hamh config
uses: home-assistant/actions/helpers/addon-info@master
with:
addon: hamh
- name: Validate hamh-beta config
uses: home-assistant/actions/helpers/addon-info@master
with:
addon: hamh-beta
- name: Validate hamh76 config
uses: home-assistant/actions/helpers/addon-info@master
with:
addon: hamh76

View File

@@ -1,15 +1,31 @@
name: Release Home-Assistant-Matter-Hub name: Release Home-Assistant-Matter-Hub
on: on:
repository_dispatch: repository_dispatch:
event_name: release types: [release]
# client_payload: workflow_dispatch:
inputs:
project:
description: 'Project to release (hamh, hamh-beta)'
required: true
default: 'hamh'
version:
description: 'Version to release'
required: true
channel:
description: 'Release channel'
required: true
default: 'latest'
changelogUrl:
description: 'URL to changelog file'
required: false
# client_payload from repository_dispatch:
# project: "hamh" # project: "hamh"
# channel: "latest" | "beta" | "alpha" # channel: "latest" | "beta"
# version: "3.0.0-alpha.33" # version: "3.0.0"
# changelogUrl: "https://..." # changelogUrl: "https://..."
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -19,40 +35,73 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get Version
- name: Parse Event
id: event_parser id: event_parser
run: | run: |
# Handle both repository_dispatch and workflow_dispatch
if [ "${{ github.event_name }}" = "repository_dispatch" ]; then
PROJECT="${{ github.event.client_payload.project }}" PROJECT="${{ github.event.client_payload.project }}"
CHANNEL="${{ github.event.client_payload.channel }}" CHANNEL="${{ github.event.client_payload.channel }}"
VERSION="${{ github.event.client_payload.version }}"
CHANGELOG_URL="${{ github.event.client_payload.changelogUrl }}"
else
PROJECT="${{ github.event.inputs.project }}"
CHANNEL="${{ github.event.inputs.channel }}"
VERSION="${{ github.event.inputs.version }}"
CHANGELOG_URL="${{ github.event.inputs.changelogUrl }}"
fi
# Append channel to project name if not latest
if [ "$CHANNEL" != "latest" ]; then if [ "$CHANNEL" != "latest" ]; then
PROJECT="$PROJECT-$CHANNEL" PROJECT="$PROJECT-$CHANNEL"
fi fi
echo "project=$PROJECT" >> "$GITHUB_OUTPUT" echo "project=$PROJECT" >> "$GITHUB_OUTPUT"
echo "channel=$CHANNEL" >> "$GITHUB_OUTPUT" echo "channel=$CHANNEL" >> "$GITHUB_OUTPUT"
echo "version=${{ github.event.client_payload.version }}" >> "$GITHUB_OUTPUT" echo "version=$VERSION" >> "$GITHUB_OUTPUT"
echo "changelogUrl=${{ github.event.client_payload.changelogUrl }}" >> "$GITHUB_OUTPUT" echo "changelogUrl=$CHANGELOG_URL" >> "$GITHUB_OUTPUT"
if [ ! -d "$PROJECT" ]; then if [ ! -d "$PROJECT" ]; then
echo "No Project: $PROJECT" echo "Error: Project directory '$PROJECT' does not exist"
exit 1 exit 1
fi fi
- run: |
echo "Releasing $PROJECT version $VERSION (channel: $CHANNEL)"
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]" git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Copy Changelog
- name: Download and Update Changelog
if: steps.event_parser.outputs.changelogUrl != ''
env: env:
CHANGELOG_FILE: ${{ steps.event_parser.outputs.project }}/CHANGELOG.md CHANGELOG_FILE: ${{ steps.event_parser.outputs.project }}/CHANGELOG.md
run: | run: |
curl -L "${{ steps.event_parser.outputs.changelogUrl }}" > $CHANGELOG_FILE curl -L "${{ steps.event_parser.outputs.changelogUrl }}" > $CHANGELOG_FILE
git add $CHANGELOG_FILE git add $CHANGELOG_FILE
- name: Apply release version
- name: Update Version in config.yaml
env: env:
CONFIG_FILE: ${{ steps.event_parser.outputs.project }}/config.yaml CONFIG_FILE: ${{ steps.event_parser.outputs.project }}/config.yaml
run: | run: |
yq -i ".version = \"${{ steps.event_parser.outputs.version }}\"" $CONFIG_FILE yq -i ".version = \"${{ steps.event_parser.outputs.version }}\"" $CONFIG_FILE
git add $CONFIG_FILE git add $CONFIG_FILE
- name: Publish
- name: Commit and Push
run: | run: |
git commit -m "bumb(${{steps.event_parser.outputs.project}}): bumb to version ${{ steps.event_parser.outputs.version }}" git commit -m "release(${{ steps.event_parser.outputs.project }}): ${{ steps.event_parser.outputs.version }}"
git push origin main git push origin main
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.event_parser.outputs.project }}-${{ steps.event_parser.outputs.version }}
name: ${{ steps.event_parser.outputs.project }} ${{ steps.event_parser.outputs.version }}
body: |
Release of ${{ steps.event_parser.outputs.project }} version ${{ steps.event_parser.outputs.version }}
See the main project for detailed changelog:
https://github.com/riddix/home-assistant-matter-hub/releases
generate_release_notes: false

View File

@@ -1,26 +1,10 @@
# Home Assistant Addons by t0bst4r # Home Assistant Addons by riddix
--- ---
> [!IMPORTANT] > [!NOTE]
> ⚠️ **Project Status: End of Maintenance** > This repository is a fork of the original project by t0bst4r, which has been discontinued.
> > I have taken over maintenance and will continue development.
> As of **January 2026**, this project is no longer actively maintained.
>
> I previously announced a search for a new maintainer, but unfortunately no one has stepped forward
> to take over the project. Due to personal time constraints, I am no longer able to continue development or provide support.
>
> **What this means:**
> - ❌ No further feature development
> - ❌ No bug fixes or updates
> - ❌ No guaranteed support
>
> The repository will remain available for reference and forking.
>
> 💡 I would be very happy to see this project continued by the community.
> If you plan to fork it and continue development: **may the best fork prevail.**
>
> Thank you to everyone who used, tested, and contributed to this project ❤️
--- ---
@@ -30,11 +14,11 @@ This repository provides the following addons for Home-Assistant:
## Installation ## Installation
Simple add this repository to your Add On Store in Home-Assistant: Simply add this repository to your Add-On Store in Home-Assistant:
1. Open the UI of your Home Assistant instance 1. Open the UI of your Home Assistant instance
2. Go to `Settings` -> `Add-Ons` -> `Add-On Store` 2. Go to `Settings` -> `Add-Ons` -> `Add-On Store`
3. Click the three dots in the top-right corner and select `Repositories` 3. Click the three dots in the top-right corner and select `Repositories`
4. Paste the repository URL (`https://github.com/t0bst4r/home-assistant-addons`) into the text-field and click "Add" 4. Paste the repository URL (`https://github.com/riddix/home-assistant-addons`) into the text-field and click "Add"
5. Refresh your Add-On Store and Install the Add-On 5. Refresh your Add-On Store and Install the Add-On

View File

@@ -1,9 +1,9 @@
version: "3.0.1-beta.5" version: "3.0.1-beta.5"
image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon image: ghcr.io/riddix/home-assistant-matter-hub-addon
slug: hamh-beta slug: hamh-beta
name: Home-Assistant-Matter-Hub (Beta) name: Home-Assistant-Matter-Hub (Beta)
description: Beta Releases of Home Assistant Matter Hub description: Beta Releases of Home Assistant Matter Hub
url: https://github.com/t0bst4r/home-assistant-matter-hub url: https://github.com/riddix/home-assistant-matter-hub
panel_icon: mdi:hub panel_icon: mdi:hub
panel_title: Matter Hub (Beta) panel_title: Matter Hub (Beta)
homeassistant: 2024.1.0 homeassistant: 2024.1.0

View File

@@ -1,9 +1,9 @@
version: "3.0.4" version: "3.0.4"
image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon image: ghcr.io/riddix/home-assistant-matter-hub-addon
slug: hamh slug: hamh
name: Home-Assistant-Matter-Hub name: Home-Assistant-Matter-Hub
description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home. description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
url: https://github.com/t0bst4r/home-assistant-matter-hub url: https://github.com/riddix/home-assistant-matter-hub
panel_icon: mdi:hub panel_icon: mdi:hub
panel_title: Matter Hub panel_title: Matter Hub
homeassistant: 2024.1.0 homeassistant: 2024.1.0

View File

@@ -1,9 +1,9 @@
version: "3.0.0-alpha.76" version: "3.0.0-alpha.76"
image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon image: ghcr.io/riddix/home-assistant-matter-hub-addon
slug: hamh76 slug: hamh76
name: Home-Assistant-Matter-Hub (3.0.0-alpha.76) name: Home-Assistant-Matter-Hub (3.0.0-alpha.76)
description: Last stable version which works with Amazon Alexa. Make sure to only enable one of the HAMH addons at once. description: Last stable version which works with Amazon Alexa. Make sure to only enable one of the HAMH addons at once.
url: https://github.com/t0bst4r/home-assistant-matter-hub url: https://github.com/riddix/home-assistant-matter-hub
panel_icon: mdi:hub panel_icon: mdi:hub
panel_title: Matter Hub (v76) panel_title: Matter Hub (v76)
homeassistant: 2024.1.0 homeassistant: 2024.1.0

View File

@@ -1,4 +1,4 @@
--- ---
name: Addons by t0bst4r name: Addons by riddix
url: https://github.com/t0bst4r/home-assistant-addons url: https://github.com/riddix/home-assistant-addons
maintainer: t0bst4r maintainer: riddix