🌱 Add workflow_dispatch trigger to coverage-gate#4092
Conversation
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for kubestellarconsole canceled.
|
|
👋 Hey @clubanderson — thanks for opening this PR!
This is an automated message. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
There was a problem hiding this comment.
Pull request overview
This PR aims to allow the Coverage Gate GitHub Actions workflow to be manually triggered so maintainers can update the coverage badge on demand.
Changes:
- Adds a
workflow_dispatchtrigger to.github/workflows/coverage-gate.ymlto allow manual runs.
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| branches: [main] |
There was a problem hiding this comment.
Adding workflow_dispatch enables manual runs, but the badge update step is still gated by if: github.event_name == 'push' && github.ref == 'refs/heads/main', so a manual run won’t update the badge as described. Consider expanding the condition to also allow workflow_dispatch (and still restrict to refs/heads/main if desired).
🔄 Auto-Applying Copilot Code ReviewCopilot code review found 0 code suggestion(s) and 1 general comment(s). Also address these general comments:
Push all fixes in a single commit. Run Auto-generated by copilot-review-apply workflow. |
Allows manual triggering of coverage-gate workflow to update the badge.