chore(release): cut v4.1.0-rc9 with consolidated release notes (#1471) #1773
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HACS and Home Assistant Validation | |
| # Required for inclusion in the official HACS default repository | |
| # | |
| # Validates: | |
| # - HACS requirements (hacs.json, structure, manifest) | |
| # - Home Assistant hassfest (manifest.json, translations, services) | |
| # - Playlist JSON files against scripts/playlist_schema.json (#1284) | |
| name: Validate | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| schedule: | |
| - cron: "0 0 * * *" # Daily at midnight UTC | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| validate-hacs: | |
| name: HACS Validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: HACS Action | |
| uses: hacs/action@main | |
| with: | |
| category: integration | |
| validate-hassfest: | |
| name: Hassfest Validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Hassfest | |
| uses: home-assistant/actions/hassfest@master | |
| validate-playlists: | |
| name: Playlist JSON Schema Gate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install jsonschema | |
| run: pip install "jsonschema>=4.0" | |
| - name: Validate playlist files against schema | |
| run: python scripts/validate_playlists.py |