From 80786b9f1fae79d56d54baa2f3607488ac0cdad2 Mon Sep 17 00:00:00 2001 From: cs_carl Date: Mon, 25 May 2026 22:47:40 +0000 Subject: [PATCH] fix(ci): use CI_GITEA_TOKEN for cross-repo checkout Update deploy-dev and deploy-uat jobs to use CI_GITEA_TOKEN for checking out the cartsnitch/infra repository instead of REGISTRY_TOKEN. CI_GITEA_TOKEN is the org-level Actions secret configured for cross-repo access, while REGISTRY_TOKEN continues to be used for Docker registry login. This resolves CAR-986 by enabling CI to commit image tag updates to the private infra repository. Co-Authored-By: Paperclip --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e26c8c9..47794ca 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -467,7 +467,7 @@ jobs: uses: actions/checkout@v4 with: repository: cartsnitch/infra - token: ${{ secrets.REGISTRY_TOKEN }} + token: ${{ secrets.CI_GITEA_TOKEN }} ref: main path: infra @@ -557,7 +557,7 @@ jobs: uses: actions/checkout@v4 with: repository: cartsnitch/infra - token: ${{ secrets.REGISTRY_TOKEN }} + token: ${{ secrets.CI_GITEA_TOKEN }} ref: main path: infra