Commit Graph

9 Commits

Author SHA1 Message Date
J. Nick Koston 1f270ce1d1 dry 2026-03-02 16:10:02 -10:00
J. Nick Koston 57c83b8053 dry 2026-03-02 16:06:24 -10:00
J. Nick Koston 769031b724 reduce api calls 2026-03-02 16:01:23 -10:00
J. Nick Koston ca600a45a2 Address review feedback
- Actually filter bot reviews (not just comment about it)
- Use core.setFailed() instead of silently swallowing errors
- Remove unused getEffectiveOwners import from detectors.js
2026-03-02 15:52:04 -10:00
J. Nick Koston ed63f51fcb [github-actions] Add code-owner-approved label workflow
Add a workflow that automatically manages a code-owner-approved label
on PRs when component-specific codeowners submit approvals. This helps
maintainers prioritize PRs that have domain-expert sign-off.

The workflow triggers on pull_request_review events and recalculates
the label based on all current reviews. Only individual component
codeowners count - the catch-all @esphome/core team is excluded.
Uses last-match-wins semantics for CODEOWNERS pattern matching.

Also extracts shared CODEOWNERS parsing logic into a reusable module
at .github/scripts/codeowners.js and updates codeowner-review-request
and auto-label-pr workflows to use it.
2026-03-02 15:45:08 -10:00
Jonathan Swoboda f6755aabae [ci] Add PR title format check (#14345)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 15:18:07 -05:00
J. Nick Koston be000eab4e [ci] Add undocumented C++ API change checkbox and auto-label (#14317) 2026-02-26 08:02:52 -10:00
Clyde Stubbs a382383d83 [workflows] Add deprecation check (#13584) 2026-01-29 12:08:45 +13:00
Clyde Stubbs 6d8294c2d3 [workflows] Refactor auto-label-pr script into modular JS (#13582) 2026-01-29 09:42:55 +13:00