ci: add workflow_dispatch trigger for manual CI re-runs #9

Merged
john merged 1 commit from feat/ci-workflow-dispatch into dev 2026-06-04 13:35:43 +00:00
Owner

Adds workflow_dispatch: to the CI workflow triggers, enabling manual re-runs from the Forgejo Actions UI or API without pushing a commit.

Use cases:

  • Re-trigger CI after transient failures (runner flake, network timeout)
  • Validate a branch before creating a PR
  • Agent-initiated CI re-runs (orch-watch self-healing)

Note: workflow_dispatch runs are not attached to PRs — they validate the branch but won't update PR commit status checks.

API trigger:

curl -sX POST -H "Authorization: token $FORGEJO_TOKEN"   "https://forgejo.haskytech.com/api/v1/repos/haskytech/<repo>/actions/workflows/ci.yml/dispatches"   -d '{"ref": "feat/my-branch"}'

Part of org-wide CI convention rollout (36 repos).

Adds `workflow_dispatch:` to the CI workflow triggers, enabling manual re-runs from the Forgejo Actions UI or API without pushing a commit. **Use cases:** - Re-trigger CI after transient failures (runner flake, network timeout) - Validate a branch before creating a PR - Agent-initiated CI re-runs (orch-watch self-healing) **Note:** workflow_dispatch runs are not attached to PRs — they validate the branch but won't update PR commit status checks. **API trigger:** ```bash curl -sX POST -H "Authorization: token $FORGEJO_TOKEN" "https://forgejo.haskytech.com/api/v1/repos/haskytech/<repo>/actions/workflows/ci.yml/dispatches" -d '{"ref": "feat/my-branch"}' ``` Part of org-wide CI convention rollout (36 repos).
ci: add workflow_dispatch trigger for manual CI re-runs
All checks were successful
CI / detect-changes (pull_request) Successful in 6s
CI / Lint & Format (pull_request) Successful in 7s
CI / Unit Tests (pull_request) Successful in 13s
80d8c8ebd2
john merged commit b2c8181553 into dev 2026-06-04 13:35:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
haskytech/haskytech-modules-py!9
No description provided.