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
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:
@@ -65,8 +65,12 @@ jobs:
|
|||||||
needs: [check-and-create-pr]
|
needs: [check-and-create-pr]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout only configuration.yaml
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
sparse-checkout: ansible/configs/homeassistant/*.yaml
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
@@ -75,13 +79,7 @@ jobs:
|
|||||||
notification_title: 'GITEA: Home Assistant Config Check'
|
notification_title: 'GITEA: Home Assistant Config Check'
|
||||||
notification_message: 'Beginning HA config check...'
|
notification_message: 'Beginning HA config check...'
|
||||||
- name: Run Home Assistant Configuration Check
|
- name: Run Home Assistant Configuration Check
|
||||||
run: |
|
uses: frenck/action-home-assistant@v1.4.1
|
||||||
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"
|
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user