profile-cards nightly fails 10/10: the Forgejo API call has no token #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P3.
profile-cards.ymlhas failed 10 of 10 scheduled runs in the last 10 days, always within ~12 seconds:The generator calls the Forgejo API with no credential, so it 401s on the first request and the job dies before producing any card.
Fix
Give the job a Forgejo token in its env (the other scheduled workflows on this instance read theirs from the runner job env — see
flow.raven-deployment/.forgejo/workflows/deploy-raven-dev-sweep.ymlfor the pattern) and haveforgejo.tsfail with a named "no token configured" message rather than surfacing a raw 401 from aGET /user/repos.Why this is worth filing at all
Alone it is cosmetic. It matters because it is one of six scheduled workflows failing nightly into the same alert, and that alert's issue now carries 158 bot comments — the noise is what let a genuine unpatched-n8n finding sit unread. Each of the six needs to go green for the alert to mean something again.
Acceptance
profile-cards.ymlexits 0 on its next scheduled run.