Validate with hassfest #138
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 with hassfest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| jobs: | |
| validate: | |
| runs-on: "ubuntu-latest" | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: "Check out repository" | |
| uses: actions/checkout@v4 | |
| - name: "Move files to where hassfest expects them" | |
| run: | | |
| mkdir -p custom_components/ssh_command | |
| find . -maxdepth 1 -not -name 'custom_components' -not -name '.' -exec mv {} custom_components/ssh_command/ \; | |
| - name: "Run hassfest" | |
| uses: home-assistant/actions/hassfest@master |