HACS Action #243
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
| name: HACS Action | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| validate-hacs: | |
| runs-on: "ubuntu-latest" | |
| # Skip HACS validation on forks - only validate on main repo | |
| if: github.repository == 'ccpk1/choreops' && (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') | |
| steps: | |
| - uses: "actions/checkout@v5" | |
| - name: HACS prerequisite guidance | |
| run: | | |
| echo "::notice::HACS validation requires a valid integration manifest at custom_components/choreops/manifest.json and a valid hacs.json file." | |
| echo "::notice::The brands check also requires this integration to be registered in the Home Assistant brands repository custom domain catalog." | |
| echo "::notice::If brands registration is pending, HACS may fail even when local lint/tests pass." | |
| - name: HACS validation | |
| uses: "hacs/action@main" | |
| with: | |
| category: integration | |
| ignore: "brands" |