feat: add hamh-alpha addon for testing pre-release versions

This commit is contained in:
RiDDiX
2026-01-26 00:15:33 +01:00
parent 204479578c
commit 77adf1080e
8 changed files with 79 additions and 6 deletions

View File

@@ -24,6 +24,12 @@ jobs:
yq eval '.' hamh/config.yaml > /dev/null
echo " hamh config is valid YAML"
- name: Validate hamh-alpha config
run: |
echo "Validating hamh-alpha/config.yaml..."
yq eval '.' hamh-alpha/config.yaml > /dev/null
echo " hamh-alpha config is valid YAML"
- name: Validate repository.yaml
run: |
echo "Validating repository.yaml..."
@@ -32,7 +38,7 @@ jobs:
- name: Check required fields
run: |
for addon in hamh; do
for addon in hamh hamh-alpha; do
echo "Checking $addon required fields..."
yq eval '.name' $addon/config.yaml > /dev/null || (echo "Missing name in $addon" && exit 1)
yq eval '.version' $addon/config.yaml > /dev/null || (echo "Missing version in $addon" && exit 1)

View File

@@ -6,7 +6,7 @@ on:
workflow_dispatch:
inputs:
project:
description: 'Project to release (hamh, hamh-beta)'
description: 'Project to release (hamh, hamh-alpha)'
required: true
default: 'hamh'
version:
@@ -22,7 +22,7 @@ on:
# client_payload from repository_dispatch:
# project: "hamh"
# channel: "latest" | "beta"
# channel: "latest" | "alpha"
# version: "3.0.0"
# changelogUrl: "https://..."
@@ -104,4 +104,4 @@ jobs:
See the main project for detailed changelog:
https://github.com/riddix/home-assistant-matter-hub/releases
generate_release_notes: false
generate_release_notes: false