Validate #13
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: Validate | |
| # Runs the two checks HACS requires before an integration can be listed: | |
| # - hassfest: Home Assistant's own manifest/structure validator | |
| # - HACS: repository + brand + manifest validation | |
| # Also runs on a daily schedule so upstream changes to either validator are | |
| # caught even when the repo is idle. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| schedule: | |
| - cron: "0 6 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| hassfest: | |
| name: Hassfest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run hassfest | |
| uses: home-assistant/actions/hassfest@master | |
| hacs: | |
| name: HACS | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run HACS validation | |
| uses: hacs/action@main | |
| with: | |
| category: integration |