Skip to content

ci: add workflow_dispatch trigger#2

Open
alvarogonjim wants to merge 2 commits into
mainfrom
ci/workflow-dispatch
Open

ci: add workflow_dispatch trigger#2
alvarogonjim wants to merge 2 commits into
mainfrom
ci/workflow-dispatch

Conversation

@alvarogonjim
Copy link
Copy Markdown
Owner

Summary

One-line addition to .github/workflows/ci.yml — declares workflow_dispatch: alongside the existing push: and pull_request: triggers so we can re-run CI on any branch via gh workflow run CI --ref <ref> without having to push a marker commit.

Motivation

Earlier today the public-alpha cleanup landed on main (#1) while the repo was still private and Actions minutes were exhausted, so no CI run was attached to the merge commit. We had to push an empty commit to coax CI into running. With workflow_dispatch: the equivalent fix is a one-liner that adds no commit noise:

gh workflow run CI --ref main

No behaviour change to existing push / pull_request runs.

Test plan

  • gh workflow run CI --ref ci/workflow-dispatch should work once this merges (currently the trigger isn't on main yet, so the dispatch only validates the syntax via the PR itself).
  • Existing push and pull_request CI runs continue to fire — this PR's own pull_request run is the test.

🤖 Generated with Claude Code

alvarogonjim and others added 2 commits May 26, 2026 13:49
Lets us re-run CI on any branch via 'gh workflow run CI --ref <ref>'
without pushing a marker commit. Useful for re-running on the current
HEAD after a flaky failure or after a runtime change (Go toolchain
update, Actions runner image change, etc.).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Original push d78b816 happened during the GitHub Actions auth-failure
outage; its pull_request webhook was lost. Empty commit to fire CI
on the current PR head.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant