Port caddy-shortcuts daily cron from GHA to Forgejo Actions #118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Final workflow in the GHA→Forgejo migration push following #115.
The GHA version used GH GraphQL
createCommitOnBranchso commits would be auto-signed by GitHub's web-flow key (required by the GH repo ruleset for signed commits). Forgejo has no equivalent path. We trade the signature badge for not coupling to GitHub's API.New workflow uses the auto-injected Forgejo
secrets.GITHUB_TOKENfor thegit pushback to the Forgejo repo, and a separately-configured Forgejo Actions secretGH_PAT(synced from SSM/github/pat) for the script's reads against sibling GH repos.Known trade-off: runner-side commits land on Forgejo only. GH catches up on Kai's next manual push via the local fan-out remote. If this proves annoying, switch on a server-side Forgejo→GH push-mirror later.
Revised: zero GitHub coupling. The script now reads sibling coily.yaml from
forgejo.coilysiren.mevia the Forgejo API. The auto-injectedGITHUB_TOKENis a Forgejo-issued token in this context (runs-on: dockeron the in-cluster runners), used for both the sibling reads and the commit-back push. No GH PAT involved. TheGH_PATForgejo Actions secret created earlier has been deleted.