Skip to content

Adopt the hub's pull_request trigger and paths filter for CI #328

Closed

Description

@ptr727

Problem

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

  1. added a commit that references this issue on Oct 22, 2026
    f2b5cd5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions