fix(ci): use GITHUB_TOKEN instead of non-existent FORGEJO_PAT secret
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user