fix: catch 4xx errors when fetching balance and continue if it appear… #831
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: "Validate - Hassfest & Hacs" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
paths: | |
- "custom_components/**" | |
pull_request: | |
paths: | |
- "custom_components/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest | |
name: "Validate Hassfest" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout the repository" | |
uses: "actions/checkout@v4" | |
- name: "Run hassfest validation" | |
uses: "home-assistant/actions/hassfest@master" | |
hacs: # https://github.com/hacs/action | |
name: "Validate HACS" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout the repository" | |
uses: "actions/checkout@v4" | |
- name: "Run HACS validation" | |
uses: "hacs/action@main" | |
with: | |
category: "integration" |