You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add CI/CD status integration to wt status (#84)
* feat: add CI/CD status to wt status --ci
Show pipeline status (pass/fail/pending) per branch in the status
dashboard. Uses gh CLI for GitHub repos and glab CLI for GitLab.
Displays colored indicators: ✓ (pass), ✗ (fail), ● (pending).
Opt-in via --ci flag to avoid slowing down the default status command
with network calls.
* fix: prefer check runs API over commit status for GitHub Actions
The commit status API returns "pending" when there are no statuses,
which is the common case for repos using GitHub Actions (which uses
check runs instead). Check the check runs API first and only fall
back to commit status for older CI integrations.
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ Inspired by [haacked/dotfiles/tree-me](https://github.com/haacked/dotfiles/blob/
22
22
-**Pre/post command hooks** — run custom scripts on create/checkout/remove (e.g. [launch AI assistants](docs/examples.md#ai-assistants-and-editors), [share build caches](docs/examples.md#shared-build-cache-across-worktrees), [assign dev server ports](docs/examples.md#deterministic-dev-server-port-per-worktree), [copy `.env`](docs/examples.md#copy-env-to-new-worktrees))
23
23
-**Stale worktree detection** — find worktrees with deleted remote branches or inactive commits (`wt cleanup --stale`)
24
24
-**Color-coded status output** — green (clean), red (dirty), yellow (ahead/behind), bold cyan (current); respects `NO_COLOR=1` and auto-strips colors when piped
25
+
-**CI/CD status integration** — `wt status --ci` shows pipeline status (✓/✗/●) per branch via `gh` or `glab` CLI
25
26
-**Per-repo `.wt.toml` config** — override global settings (strategy, hooks, etc.) on a per-repository basis
wt status --ci # include CI/CD pipeline status (requires gh or glab)
109
111
```
110
112
111
-
Shows dirty/clean state, ahead/behind counts, and highlights the current worktree. Colors are automatically stripped when piping; set `NO_COLOR=1` to disable.
113
+
Shows dirty/clean state, ahead/behind counts, and highlights the current worktree. With `--ci`, each branch shows ✓ (pass), ✗ (fail), or ● (pending) for its latest CI pipeline. Colors are automatically stripped when piping; set `NO_COLOR=1` to disable.
0 commit comments