https://github.com/davidparsson/p10k-ci-status
Shows the status of GitHub Actions for the current branch
https://github.com/davidparsson/p10k-ci-status
developer-tools github github-status p10k powerlevel10k prompt
Last synced: about 2 months ago
JSON representation
Shows the status of GitHub Actions for the current branch
- Host: GitHub
- URL: https://github.com/davidparsson/p10k-ci-status
- Owner: davidparsson
- Created: 2023-10-27T08:19:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-27T12:16:50.000Z (4 months ago)
- Last Synced: 2026-02-27T17:23:20.448Z (4 months ago)
- Topics: developer-tools, github, github-status, p10k, powerlevel10k, prompt
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub CI status for Powerlevel10k
A segment for Powerlevel10k that indicates the GitHub's CI status for the current branch.
## Installation
This depends on [hub](https://hub.github.com) to perform status checks, and
[zsh-async](https://github.com/mafredri/zsh-async) to do this asynchronously. These
dependencies need to be installed manually.
Once the dependencies are installed, load `p10k-ci-status.plugin.zsh` after Powerlevel10k is
loaded in your `~/.zshrc` or similar, for example with `zgen`:
zgen load davidparsson/p10k-ci-status
Finally add the `ci_status` segment to your list of segments in `~/.p10k.zsh`. In the examples
below it is added last to `POWERLEVEL9K_LEFT_PROMPT_ELEMENTS`.
## What it does
It provides a symbol for the status of the current branch, below seen as the green checkmark
or red cross:

The available statuses are:
- `SUCCESS`: A green checkmark
- `BUILDING`: A yellow bullet
- `FAILURE`: A red cross
- `CANCELLED`: A yellow cross
- `ACTION_REQUIRED`: A red triangle
- `NEUTRAL`: A cyan checkmark
- `SKIPPED`: A grey dash
If there is no status for the local branch head, the upstream/remote branch head is used. In that
case the same symbol is used, but the color is grey. The upstream statuses are:
- `UPSTREAM_SUCCESS`
- `UPSTREAM_BUILDING`
- `UPSTREAM_FAILURE`
- `UPSTREAM_CANCELLED`
- `UPSTREAM_ACTION_REQUIRED`
- `UPSTREAM_NEUTRAL`
- `UPSTREAM_SKIPPED`