Tweaking checkout and HA config check steps.
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 23s
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Failing after 18s
Home Assistant & Miscellaneous Deployment / Generate list of added/modified/deleted services (push) Has been skipped
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Has been skipped

This commit is contained in:
2025-08-25 08:55:57 -04:00
parent 43ff135794
commit 76d7982512
+7 -9
View File
@@ -65,8 +65,12 @@ jobs:
needs: [check-and-create-pr]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout only configuration.yaml
uses: actions/checkout@v5
with:
fetch-depth: 0
sparse-checkout: ansible/configs/homeassistant/*.yaml
sparse-checkout-cone-mode: false
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
@@ -75,13 +79,7 @@ jobs:
notification_title: 'GITEA: Home Assistant Config Check'
notification_message: 'Beginning HA config check...'
- name: Run Home Assistant Configuration Check
run: |
docker run --rm --entrypoint "" -v ./ansible/configs/homeassistant:/github/workspace/ --workdir /github/workspace "ghcr.io/home-assistant/home-assistant:stable" pwd
docker run --rm --entrypoint "" -v ./ansible/configs/homeassistant:/github/workspace/ --workdir /github/workspace "ghcr.io/home-assistant/home-assistant:stable" ls -al /github/workspace
docker run --rm --entrypoint "" -v ./ansible/configs/homeassistant:/github/workspace/ --workdir /github/workspace "ghcr.io/home-assistant/home-assistant:stable" python -m homeassistant --config "/github/workspace/configuration.yaml" --script check_config
# uses: frenck/action-home-assistant@v1.4.1
# with:
# path: "ansible/configs/homeassistant"
uses: frenck/action-home-assistant@v1.4.1
- name: Gotify Notification
uses: eikendev/gotify-action@master
with: