sync: secret names Gitea accepts (SYNC_GITHUB_KEY, SYNC_GITHUB_TOKEN) #179

Merged
teahubxyz merged 4 commits from sync-secret-names into main 2026-10-19 04:03:20 +00:00
Owner

Gitea refuses an Actions secret whose name starts with GITHUB_ or GITEA_ (400: "name cannot start with 'GITEA_' or 'GITHUB_'"), so GITHUB_MIRROR_KEY could never be set. The GitHub copy's deploy key is now in SYNC_GITHUB_KEY (already set on this repo), and the token alternative is SYNC_GITHUB_TOKEN.

  • time/sync.json: the github copy's ssh_key names SYNC_GITHUB_KEY.
  • .github/workflows/sync.yml: passes SYNC_GITHUB_KEY / SYNC_GITHUB_TOKEN, with a comment on why SYNC_.
  • sync.py: the docstring's example config uses the deploy key and notes the naming rule.
  • CHANGELOG: the sync entry covers deploy keys and the names.

No logic change; test 83 uses its own names. Workflow file change, so this is a human-class merge by TIME_PROTECTED; landing it by hand as the operator.

🤖 Generated with Claude Code

https://claude.ai/code/session_017K4vyY3yUD3GsvoZaAtKkD

Gitea refuses an Actions secret whose name starts with `GITHUB_` or `GITEA_` (400: "name cannot start with 'GITEA_' or 'GITHUB_'"), so `GITHUB_MIRROR_KEY` could never be set. The GitHub copy's deploy key is now in `SYNC_GITHUB_KEY` (already set on this repo), and the token alternative is `SYNC_GITHUB_TOKEN`. - `time/sync.json`: the github copy's `ssh_key` names `SYNC_GITHUB_KEY`. - `.github/workflows/sync.yml`: passes `SYNC_GITHUB_KEY` / `SYNC_GITHUB_TOKEN`, with a comment on why `SYNC_`. - `sync.py`: the docstring's example config uses the deploy key and notes the naming rule. - CHANGELOG: the sync entry covers deploy keys and the names. No logic change; test 83 uses its own names. Workflow file change, so this is a human-class merge by TIME_PROTECTED; landing it by hand as the operator. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017K4vyY3yUD3GsvoZaAtKkD
teahubxyz added 4 commits 2026-10-19 03:51:19 +00:00
teahubxyz merged commit 745231844f into main 2026-10-19 04:03:20 +00:00
Sign in to join this conversation.