fix(ci): repair failing Gitea Actions (validate-flux + build-docs) #243
Reference in New Issue
Block a user
Delete Branch "fix/gitea-actions-failures"
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?
Why
Both repo workflows were failing on every run (confirmed via tea actions runs view; the list view hides conclusions and shows everything as completed).
validate-flux.yaml — sudo: command not found (exit 127)
The Gitea act runner runs as root and has no sudo. Changed 'sudo mv kustomize /usr/local/bin/' to install directly.
build-docs.yaml — cross-repo checkout failed (default branch not found)
The sibling-repo checkouts used the auto-injected GITEA_TOKEN, which is scoped to this repo only and can't read the API repos. GITEA_TOKEN is also a reserved secret name that can't be overridden, so the checkouts now use a new SIBLING_REPOS_TOKEN secret (a read-only PAT, already configured).
Also added (not CI)
Test plan