Repository navigation
0.9.0 · Your CI, found on its own
Live demo · Changelog · Journal des versions (FR)
Install or update:
npx shadcn@latest add @pixel-openspace/pixel-openspace --overwriteThen, in your project:
// app/api/ci/route.ts
import { githubAgents } from '@/components/pixel-openspace/github'
export async function GET() {
return Response.json(await githubAgents())
}Added
githubAgents(), incomponents/pixel-openspace/github.ts: your project's CI in the room with two lines in an API route. It finds the GitHub repository on its own (on Vercel, in GitHub Actions, or from theoriginremote in development) and turns each workflow into an agent, with its runs of the day on the timeline.GITHUB_TOKENis optional for a public repository; the answer is cached a minute with it, five without.
Fixed
- With
--github, runs started by a release, a schedule or by hand counted only if their branch was the default one, and a release carries the name of its tag: a release workflow showed an old manual run and no run of the day. Now only pull requests and pushes to other branches are left out.