feat: Add manual workflow_dispatch trigger to squad-ci.yml#105
feat: Add manual workflow_dispatch trigger to squad-ci.yml#105
Conversation
Enables manual CI workflow execution via GitHub Actions UI with optional reason input. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR enables manually triggering the existing “Squad CI” GitHub Actions workflow from the Actions UI by adding a workflow_dispatch event (with an optional reason input).
Changes:
- Added
workflow_dispatchtrigger to.github/workflows/squad-ci.yml - Added an optional
reasoninput intended to document why a manual run was started
You can also share your feedback on Copilot code review. Take the survey.
| workflow_dispatch: | ||
| inputs: | ||
| reason: | ||
| description: 'Reason for manual run' | ||
| required: false | ||
| default: 'Manual CI verification' |
There was a problem hiding this comment.
workflow_dispatch input reason is defined here, but it is not used anywhere in this workflow (and the called squad-test.yml reusable workflow has no workflow_call inputs to receive it). As a result, the "reason" doesn’t actually document manual runs as described—consider either wiring it into run-name / logging, or add a workflow_call.inputs.reason to squad-test.yml and pass it via jobs.test.with (or remove the input if it won’t be used).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
=======================================
Coverage 58.89% 58.89%
=======================================
Files 110 110
Lines 2496 2496
Branches 254 254
=======================================
Hits 1470 1470
Misses 844 844
Partials 182 182 🚀 New features to boost your workflow:
|
Summary
Enables manual CI workflow execution via GitHub Actions UI.
Changes
workflow_dispatchtrigger to squad-ci.ymlreasoninput field for documenting manual runsHow to Use
Closes #105