Avoids exposing the token in process listings. Resolution order:
--token flag > FORGEJO_TOKEN env > 1Password op read.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Switch remote branch deletion from git push to Forgejo API
- Token resolved from 1Password locally, --token flag for CI
- Add branch-cleanup.yaml workflow: runs ~every 10 days on schedule,
supports manual dispatch with configurable cutoff
- Shallow checkout sufficient (no fetch-depth: 0 needed)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Uses the Forgejo PR API to find branches from merged PRs, catching
squash-merged branches that git --merged misses. Also warns about
stale local branches that couldn't be confirmed as merged.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>