Skip to content

ci(build): add workflow_dispatch trigger to build.yml - #3445

Merged
zackees merged 1 commit into
masterfrom
ci/build-yml-workflow-dispatch
Jun 30, 2026
Merged

zackees merged 1 commit into
masterfrom
ci/build-yml-workflow-dispatch

Conversation

@zackees

@zackees zackees commented Jun 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds workflow_dispatch: trigger to .github/workflows/build.yml so the cross-platform build matrix can be exercised on a feature branch before merge.

Why

build.yml only fires on push to master today. For large refactors (e.g. the just-merged #3444 bus enum migration), there's no way to get per-board signal on a feature branch before the merge — which forces a merge-then-fix-forward cycle for any board the local WASM/Teensy validation didn't cover.

workflow_dispatch lets a maintainer run the matrix on demand against any branch via the Actions UI or:

gh workflow run build.yml --ref <branch>

What this doesn't change

  • Path filters are unchanged. workflow_dispatch ignores them anyway.
  • No new permissions, no new jobs, no new boards.
  • Push behaviour is identical.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a manual option to start the cross-platform build workflow.
    • Build checks can now be run on feature branches without waiting for a push event.

Today the cross-platform build matrix only fires on push to master.
For large refactors (e.g. the #3444 bus enum migration), contributors
have no way to exercise the matrix on a feature branch before merge,
which forces a merge-then-fix-forward cycle on any board the local
WASM/Teensy validation didn't cover.

Adding workflow_dispatch lets a maintainer run the matrix on demand
against any branch via the Actions UI or `gh workflow run build.yml
--ref <branch>`. Path filters are unchanged; the dispatch path doesn't
honour them anyway. No behavioural change for push events.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@zackees
zackees merged commit ab451ed into master Jun 30, 2026
1 check passed
@zackees
zackees deleted the ci/build-yml-workflow-dispatch branch June 30, 2026 17:33
@coderabbitai

coderabbitai Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0e1bae6f-1935-447d-af19-1d5eab793844

📥 Commits

Reviewing files that changed from the base of the PR and between 6de65a9 and b1fba15.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

📝 Walkthrough

Walkthrough

Adds a workflow_dispatch manual trigger to .github/workflows/build.yml, allowing the cross-platform build matrix to be triggered manually via the GitHub Actions UI in addition to the existing push trigger.

Changes

Build Workflow Manual Trigger

Layer / File(s) Summary
Add workflow_dispatch trigger
.github/workflows/build.yml
Adds workflow_dispatch: to the on: section, enabling manual execution of the build matrix.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • FastLED/FastLED#2354: Also adds a workflow_dispatch manual trigger to a build workflow (build_uno.yml), the same pattern applied here to build.yml.

Poem

🐇 A button appeared in the Actions tab today,
No more waiting for a push to come my way.
I click "Run workflow" with a wiggle of my nose,
The build matrix spins wherever the feature branch goes!
Manual triggers — the bunny approves this flow. ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/build-yml-workflow-dispatch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 30, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant