From f6c5d8e05ca8e5a658c54ec204fe23c7a920ee1c Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Thu, 6 Aug 2026 08:55:27 +0200 Subject: [PATCH] deploy.yml: write GITEA_API_TOKEN for the new GiteaStarred/OrgRepos resource sources Needs the PORTAL_GITEA_API_TOKEN repo secret set (Settings -> Actions -> Secrets) - a fresh read-only token, not yet wired in as a value. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 52a026a..4bb6ae1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -81,6 +81,11 @@ jobs: # in the right place for /pkg/*. LEPTOS_SITE_ROOT=site AUTOMATION_READ_TOKEN=${{ secrets.PORTAL_AUTOMATION_READ_TOKEN }} + # Read-only (read:user,read:repository,read:organization), + # used only by the GiteaStarred/GiteaOrgRepos resource sources + # (src/resource.rs) - the repo-contents/repo-info calls + # content loading already makes stay anonymous. + GITEA_API_TOKEN=${{ secrets.PORTAL_GITEA_API_TOKEN }} EOF # No sudo: the runner's own unit sets NoNewPrivileges=yes, which