homepage: Forgejo Actions widget via customapi #58

Open
opened 2026-10-04 13:11:03 +00:00 by lab · 0 comments
Owner

Show recent CI runs on the dashboard.

Homepage has a gitea widget (repo/issue counts) but nothing for Actions runs. Use customapi against:

https://git.yukselcloud.com/api/v1/repos/lab/homelab/actions/runs?limit=5

with header Authorization: token {{ HOMEPAGE_VAR_FORGEJO_TOKEN }}.

Homepage proxies server-side, so the token never leaves the cluster.

Steps

  1. Re-add the HOMEPAGE_VAR_FORGEJO_TOKEN placeholder to secret.yaml.
  2. Patch the real token into the live secret (needs read:repository, not write).
  3. Attach a customapi widget to the Forgejo tile in values.yaml, mapping workflow name + status per entry.
  4. Verify the last run status renders.
Show recent CI runs on the dashboard. Homepage has a `gitea` widget (repo/issue counts) but nothing for Actions runs. Use `customapi` against: ```text https://git.yukselcloud.com/api/v1/repos/lab/homelab/actions/runs?limit=5 ``` with header `Authorization: token {{ HOMEPAGE_VAR_FORGEJO_TOKEN }}`. Homepage proxies server-side, so the token never leaves the cluster. ## Steps 1. Re-add the `HOMEPAGE_VAR_FORGEJO_TOKEN` placeholder to `secret.yaml`. 2. Patch the real token into the live secret (needs `read:repository`, not write). 3. Attach a `customapi` widget to the Forgejo tile in `values.yaml`, mapping workflow name + status per entry. 4. Verify the last run status renders.
Sign in to join this conversation.
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
lab/homelab#58
No description provided.