Skip to content

Commit 093c0cd

Browse files
committed
ci(haos): cross-trigger both lanes on either workflow change
Both HAOS lanes now share the same qcow2 cache key, so any change to the cache logic in one workflow needs to be verified in the other. Add each workflow's path to the other's pull_request paths filter so a single-file edit triggers both lanes. Without this, a PR that only edits haos-e2e-inaddon-tests.yml (like this one's first commit) would leave the external lane dormant on CI, hiding any parity regression until a later PR happened to touch a path both lanes already filter on.
1 parent 392a468 commit 093c0cd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/haos-e2e-inaddon-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ on:
2727
- 'homeassistant-addon/**'
2828
- 'homeassistant-addon-dev/**'
2929
- '.github/workflows/haos-e2e-inaddon-tests.yml'
30+
# Trigger on external workflow changes too — both lanes share the
31+
# qcow2 cache key, so a change to either workflow's cache logic
32+
# needs the other lane to re-run for parity verification.
33+
- '.github/workflows/haos-e2e-tests.yml'
3034
workflow_dispatch:
3135
inputs:
3236
pytest_args:

.github/workflows/haos-e2e-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
- 'pyproject.toml'
2121
- 'homeassistant-addon/**'
2222
- '.github/workflows/haos-e2e-tests.yml'
23+
# Trigger on inaddon workflow changes too — both lanes share the
24+
# qcow2 cache key, so a change to either workflow's cache logic
25+
# needs the other lane to re-run for parity verification.
26+
- '.github/workflows/haos-e2e-inaddon-tests.yml'
2327
workflow_dispatch:
2428
inputs:
2529
pytest_args:

0 commit comments

Comments
 (0)