From 248ff8923059743bd42381332e1bc71d44f514ea Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Sat, 2 May 2026 12:52:49 -0500 Subject: [PATCH] ci: use GITHUB_TOKEN for cross-repo engram-lang checkout Gitea Actions auto-issues GITHUB_TOKEN per workflow run; the previous GITEA_TOKEN reference evaluated to literal text and broke the checkout. --- .gitea/workflows/deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 3947578..c1dc3ce 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -42,7 +42,10 @@ jobs: repository: neuron-technologies/engram-lang path: engram-lang fetch-depth: 1 - token: ${{ secrets.GITEA_TOKEN }} + # Gitea Actions auto-issues GITHUB_TOKEN scoped to the workflow run. + # That token has read access to other repos in the same org by + # default, so cross-repo checkout just works. + token: ${{ secrets.GITHUB_TOKEN }} - name: Stage engram-lang as foundation/el for build-stage.sh run: |