feature(automatic on config) for #36 to get release going. And condit… #518
This file contains 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: "Validation And Formatting" | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Download repo | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
name: Setup Python | |
- uses: actions/cache@v2 | |
name: Cache | |
with: | |
path: | | |
~/.cache/pip | |
key: custom-component-ci | |
- uses: "hacs/action@main" | |
name: HACS validation | |
with: | |
category: "integration" | |
- uses: KTibow/ha-blueprint@stable | |
name: CI | |
if: github.event_name != 'pull_request' | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |