mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-21 22:54:00 +08:00
- _PinnedResolver raises on unpinned hosts instead of falling back to live DNS: nothing legitimate resolves other hosts on a pinned session (redirects are off), so fail closed - dedicated session is also closed on EVENT_HOMEASSISTANT_CLOSE: core stop does not unload entries, and the raw ClientSession has no HA auto-cleanup, which left 'Unclosed client session' logs at shutdown - hassfest.yaml: remove the version-print step, hassfest runs inside the action's docker image and is never on the runner PATH
41 lines
870 B
YAML
41 lines
870 B
YAML
name: Validate with hassfest
|
|
permissions:
|
|
contents: read
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
paths:
|
|
- 'custom_components/**'
|
|
- '.github/workflows/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'custom_components/**'
|
|
- '.github/workflows/**'
|
|
schedule:
|
|
- cron: "0 0 * * *" # Run daily at midnight UTC
|
|
workflow_dispatch: # Allow manual trigger
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate with hassfest
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Check out code from GitHub
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Run hassfest validation
|
|
uses: home-assistant/actions/hassfest@master
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|