fix: use HERMES_GITEA_TOKEN secret (GITEA_* prefix is reserved)
Gitea rejects secret names matching ^GIT(EA|HUB)_ per services/secrets/validation.go. Renamed to HERMES_GITEA_TOKEN and updated workflow + README accordingly. Assisted-By: hermes-agent:minimax-m3
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
- name: sync forks
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.HERMES_GITEA_TOKEN }}
|
||||
WORK_ROOT: ${{ github.workspace }}/work
|
||||
run: |
|
||||
python tools/fork-sync.py > out.txt 2>&1 || true
|
||||
|
||||
@@ -38,7 +38,9 @@ Override via `FORK_PAIRS` env (comma-separated `fork=upstream`).
|
||||
|
||||
| Name | Required | Used for |
|
||||
|------|----------|----------|
|
||||
| `GITEA_TOKEN` | yes | clone + fetch over HTTPS |
|
||||
| `HERMES_GITEA_TOKEN` | yes | clone + fetch over HTTPS |
|
||||
|
||||
Names starting with `GITEA_` or `GITHUB_` are reserved by Gitea, hence the `HERMES_` prefix.
|
||||
|
||||
## Files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user