Add API token auth and git remote detection to runner-logs

runner-logs now always authenticates with the Forgejo API token
(via --token flag, FORGEJO_TOKEN env, or 1Password) so it works on
private repos. The --repo default is auto-detected from the git
remote origin URL instead of being hardcoded.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-04-18 16:39:21 -07:00
commit 4f5a963ef6
2 changed files with 81 additions and 14 deletions

View file

@ -0,0 +1 @@
runner-logs now authenticates with Forgejo API token (works on private repos) and auto-detects the repo from git remote.