Skip to content

Add workflow_dispatch trigger to examples and tests workflows#208

Merged
alex-clickhouse merged 1 commit intomainfrom
action-adjustments
Feb 5, 2026
Merged

Add workflow_dispatch trigger to examples and tests workflows#208
alex-clickhouse merged 1 commit intomainfrom
action-adjustments

Conversation

@alex-clickhouse
Copy link
Copy Markdown
Collaborator

@alex-clickhouse alex-clickhouse commented Feb 4, 2026

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 ref input leading to running workflows against the wrong revision.

Overview
Adds workflow_dispatch support to examples.yml and tests.yml, enabling manual runs with an optional ref (branch/tag/SHA).

Threads this ref through the tests.yml job 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.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_dispatch trigger with optional ref input to tests.yml and examples.yml
  • Threaded the ref parameter through all reusable workflow calls in tests.yml
  • Updated all reusable workflows to accept ref as an input and use it in checkout steps with fallback to github.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

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Comment thread .github/workflows/tests-cloud.yml
@alex-clickhouse alex-clickhouse merged commit 0282880 into main Feb 5, 2026
18 checks passed
@alex-clickhouse alex-clickhouse deleted the action-adjustments branch February 5, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants