HW CI: allow maintainers to label fork PRs onto the bench#745
Conversation
Same-repo PRs (maintainers push branches to shorepine/amy) still run automatically with no label. A fork PR now also runs once a maintainer adds the `hwci-ok` label — only maintainers can apply labels, so the label is the human-review gate before any fork firmware reaches the self-hosted Pi (GitHub's "Approve and run" for fork workflows still applies on top). - trigger on `labeled` too; gate is now same-repo OR carries `hwci-ok` - adding an unrelated label to a same-repo PR doesn't re-trigger (no duplicate bench run) - the "dispatched" note now uses HWCI_BRIDGE_TOKEN so it also posts on fork PRs (their GITHUB_TOKEN is read-only even after approval) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🎛️ AMYboard HW CIDispatched this PR's |
|
Another workflow only PR, will merge |
🎛️ HW CI (physical bench)Built from this AMY PR, pinned into the tulipcc AMYboard (USB-MIDI + AMY Tulip (TULIP4_R11; serial-REPL audio + WiFi screenshot): ✅ PASS — flashed this PR’s firmware; all checks matched the references. ⬇️ Artifacts: recordings · screenshot · serial logs · run logs Self-hosted bench. Audio spectral-compared to |
Follow-up to the AMYboard HW CI trigger (#741). Adds a reviewed path for fork PRs onto the self-hosted bench, without weakening the default.
Behavior
hwci-oklabelThe gate becomes same-repo OR carries
hwci-ok:Why a label (vs. just relying on GitHub's "Approve and run")
Notes
HWCI_BRIDGE_TOKENso it also works on fork PRs (whoseGITHUB_TOKENis read-only even after approval).🤖 Generated with Claude Code