You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adopt the hub's pull_request trigger and paths filter for CI #328
test-pull-request.yml triggers on push only, and smoke-build has no paths filter. WORKFLOW.md section 7 records both as deliberate deviations from the hub's D1.1 and D1.4 (scenarios S2 and S3). Two things follow from that:
A fork pull request produces no CI run at all.
The hub's prose gate, which the reusable validate task runs on pull request events, never runs here, so prose conventions are only checked locally.
Decision
The maintainer chose to adopt the hub's trigger model as a follow-up, rather than keep push-only permanently.
Work
Move test-pull-request.yml to the hub's pull_request trigger plus the paths filter the hub stub carries, keeping the validate hook's compile-test change gate working under the new event, since the hook currently derives the diff from a push.
Remove the S2/S3 deviation record from WORKFLOW.md section 7 and resync D1.1/D1.4 wording if needed.
Confirm the prose gate runs on a pull request and that the compile test still runs when Docker/, .github/compile-test/, the hooks, the hub-pinned stubs, or upstream-version.json change.
Done when
A pull request into develop runs CI from the pull_request event, including the prose gate, and python3 spec/audit.py ESPHome-NonRoot reports no trigger deviation.
Activity
Run CI on pull requests with the hub's paths filter (#332)