Add workflow_dispatch trigger to examples and tests workflows#208
Merged
alex-clickhouse merged 1 commit intomainfrom Feb 5, 2026
Merged
Add workflow_dispatch trigger to examples and tests workflows#208alex-clickhouse merged 1 commit intomainfrom
alex-clickhouse merged 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds manual trigger capabilities to CI workflows by introducing workflow_dispatch events with an optional ref input parameter. This allows workflows to be triggered manually through the GitHub UI and run against any specified branch, tag, or commit SHA.
Changes:
- Added
workflow_dispatchtrigger with optionalrefinput totests.ymlandexamples.yml - Threaded the
refparameter through all reusable workflow calls intests.yml - Updated all reusable workflows to accept
refas an input and use it in checkout steps with fallback togithub.ref
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/tests.yml | Added workflow_dispatch trigger and passed ref input to all reusable workflow calls |
| .github/workflows/examples.yml | Added workflow_dispatch trigger and updated checkout to use ref input |
| .github/workflows/reusable.yml | Added ref input parameter and updated checkout step to use it |
| .github/workflows/tests-integration.yml | Added ref input parameter and updated checkout step to use it |
| .github/workflows/tests-cloud.yml | Added ref input parameter and updated checkout step to use it |
| .github/workflows/tests-windows.yml | Added ref input parameter and updated checkout step to use it |
| .github/workflows/tests-macos.yml | Added ref input parameter and updated checkout step to use it |
mzitnik
approved these changes
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets us trigger tests manually
Note
Low Risk
Low risk CI-only change that adds manual triggers and parameterizes checkout ref; main risk is misconfiguring the
refinput leading to running workflows against the wrong revision.Overview
Adds
workflow_dispatchsupport toexamples.ymlandtests.yml, enabling manual runs with an optionalref(branch/tag/SHA).Threads this
refthrough thetests.ymljob calls into reusable workflows (reusable.yml,tests-integration.yml,tests-cloud.yml,tests-windows.yml,tests-macos.yml) and updates checkout steps to use${{ inputs.ref || github.ref }}so workflows can run against a specified revision.Written by Cursor Bugbot for commit bc3110d. This will update automatically on new commits. Configure here.