Skip to content

use homeassistant.core_config.Config for 2025.11 (we're in advance) #94

use homeassistant.core_config.Config for 2025.11 (we're in advance)

use homeassistant.core_config.Config for 2025.11 (we're in advance) #94

Workflow file for this run

name: Checks and release
on:
push:
pull_request:
jobs:
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
name: "Hassfest Validation"
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: "HACS Validation"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4"
- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"
ignore: "brands"
style:
runs-on: "ubuntu-latest"
name: Check style formatting
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v5"
with:
python-version: "3.x"
- run: python3 -m pip install black
- run: black .
release:
needs: [hassfest, hacs, style]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: CupOfTea696/gh-action-auto-release@v1.0.2
with:
title: "Release: $version"
tag: "v$semver"
draft: false
regex: "/^Release: #{semver}$/i"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}