fix(ci): use GITHUB_TOKEN instead of non-existent FORGEJO_PAT secret
ci / test (push) Canceled after 0s
release / release (push) Canceled after 0s

This commit is contained in:
Story Crater Bot
2026-08-21 20:06:26 -07:00
parent 19e066b0d7
commit 149d63ef3c
2 changed files with 6 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:${FORGEJO_PAT}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
git config --global url."https://oauth2:${GITHUB_TOKEN}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
env:
FORGEJO_PAT: ${{ secrets.FORGEJO_PAT }}
GITHUB_TOKEN: ${{ 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.