fix: use consistent secret name for git auth in CI workflows
ci / test (push) Failing after 26s

This commit is contained in:
2026-08-28 16:45:26 -07:00
parent e7f6bcefa8
commit 72533b8f32
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ jobs:
- name: configure git auth for private module fetch
run: |
git config --global url."https://oauth2:${GITHUB_TOKEN}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
git config --global url."https://oauth2:${REGISTRY_PAT}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REGISTRY_PAT: ${{ secrets.GITHUB_TOKEN }}
# A tag is the public contract for `go get [email protected]` — re-run the full
# gate before publishing a release, never trust that main was green.