From e88c31ea0507c20b588010a43d5b0f70bad20cb5 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Sat, 6 Sep 2025 20:17:25 +0100 Subject: [PATCH] fix(ci): Use GH_PUBLIC_RO env var in sccache action Consistent with setup-rust action, prioritise GH_PUBLIC_RO environment variable over token input to ensure reliable sccache downloads. --- .forgejo/actions/sccache/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/actions/sccache/action.yml b/.forgejo/actions/sccache/action.yml index b5e5dcf4..8e5e24cb 100644 --- a/.forgejo/actions/sccache/action.yml +++ b/.forgejo/actions/sccache/action.yml @@ -13,7 +13,7 @@ runs: - name: Install sccache uses: https://github.com/mozilla-actions/sccache-action@v0.0.9 with: - token: ${{ inputs.token }} + token: ${{ env.GH_PUBLIC_RO || inputs.token }} - name: Configure sccache uses: https://github.com/actions/github-script@v7 with: