Skip to content

Decision: Get a Home Assistant Standup Past the HACS License Check While Main Is Empty (Split From #4232) #4302

Closed

Description

@ptr727

Split from #4232 by decision triage. This issue holds only the undecided item. Listing repository topics and brand assets among what a homeassistant standup sets up front stays with #4232 as ordinary work.

Decision triage, 2026-11-19. Should a homeassistant standup get past the HACS license check, while main is still empty, by a documented temporary ignore: license, or by a conditional skip in the validate composite?

The HACS action reads the license GitHub detects on the default branch. That branch holds only the empty root commit until the first promotion, so the standup pull request fails validation although it adds LICENSE. Which fix to adopt is a design choice for the maintainer. The issue's second item, listing repository topics and brand assets among what a homeassistant standup sets up front, has no open question and stays as ordinary work.

Options

  1. Document a temporary ignore: license (recommended). The homeassistant standup guidance tells the standup to pass ignore: license to hacs/action, with a comment saying when it goes. The first pull request after the first promotion removes it. ptr727/homeassistant-vantage-diagnostics already did exactly this, and it worked end to end. It is a one-off per repository, so it fits the rule recorded in State That a One-Off Is Detected and Reported, Never Corrected by Code #4210 that a one-off is reported and fixed by hand, not handled by code. The cost is a follow-up edit that someone must remember. An audit check for a lingering ignore: license once main has a license would cover that.
  2. Skip the check in the validate composite while main is empty. No hub composite runs HACS. The hub's validate-task.yml calls each repository's own .github/actions/validate, and the homeassistant repositories write that file themselves. So this means adding a conditional step to every such repository, or a new hub-hosted composite for the type. The step would need an API read on every run for a state that lasts one pull request. Set Secrets During Standup While main Holds Only the Empty Root Commit #4229 also shows that reading the tree of an empty root commit is itself unreliable, since GitHub answers 404 for it.

Evidence:

Effect on work in flight: none. No open pull request touches this guidance. Both existing homeassistant repositories are past their first promotion, so neither needs a change under either option.

Activity

  1. added
    decision
    on Nov 20, 2026
  2. ptr727 commented on Nov 20, 2026

    @ptr727
    OwnerAuthor

    Maintainer's answer, 2026-11-19 (decision triage): option 1. The homeassistant standup guidance documents a temporary ignore: license on hacs/action, with a comment naming its removal, removed by the first pull request after the first promotion. The work is tracked on #4232, so this issue, which held only the question, closes.

  3. removed
    decision
    on Nov 20, 2026
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