Automatically keep MoarVM/dyncall up to date with upstream #1775
Description
MoarVM/dyncall
is a mirror of a dyncall mercurial repository that is used as a submodule of MoarVM. However, that mirror is missing lots of meta data from the original repositories such as release tags. Instead we can use a scheduled GitHub Action + hg-fast-export to sync to MoarVM/dyncall which would retain all the e.g. original commit messages and release tags. By retaining the release tags we could also do things like use dependabot to send PRs that keep the dyncall submodule up-to-date version wise.
As an example of how this can be done see the github action for https://github.com/ugexe/dyncall The github action is slightly more convoluted than it could be due to the default branch being the only one that can run actions on a schedule, but it is still pretty straight forward.