2026-07-14 18:08 UTC
Is there any way to submit jobs to #forgejo actions programmatically?
I have my own runners that I use on #codeberg, it would be neat if I could have CI jobs triggered by my private (self-hosted) repos, without needing to run a full foregjo (or similar) for them.
Also accepting tips for alternative low-effort CI-ish things for self-hosted git repos.
Replies (2)
-
@mfenniak@yyc.bike 2026-07-15 04:23
@zerodogg@hachyderm.io Hm... you could put a repo on Codeberg that has the workflow files and use the workflow dispatch API to trigger jobs on-demand. But I don't know how you'd access your private self-hosted repos then -- Forgejo normally creates authentication tokens to allow `actions/checkout` to work, for example. If you already have a self-hosted runners, self-hosted Forgejo is usually the easier part of that equation.
-
@emilyskidsister@hachyderm.io 2026-07-15 12:00
@zerodogg@hachyderm.io if you can ssh into your machine, and have a checkout there, `forgejo-runner exec` might do what you want!