Finally set up a personal @[email protected] instance. I can't believe it's taken me so long to do this. Such an easy set up.
I've got two questions, though, if anybody knows.
First, I've got some repos that are hosted on both my ForgeJo, and GitHub. I've noticed that GitHub Actions defined in .github/workflows
are picked up by ForgeJo Actions. I don't really need them running both places. Can I disable Actions from running from .github
, and only have them run from .forgejo
?
Next, I want to automatically mirror some branches of some of my repos, but not all of them. So, when I push to certain branches in my ForgeJo, they'll be automatically pushed to other repos that I specify. I see how to set up the mirror settings, but it seems to be all or nothing. I suppose I could set up some standard git hooks to do this, maybe in post-receive
, or use an Action, but if there's a built-in way, I'd love to do that. If there's not, if anybody has experience with the post-receive
hook, I'd love some tips.