Hello,
I’ve built a set of Python scripts to create a custom Magic: The Gathering legality checker using Scryfall and Moxfield. It fetches a card pool, converts Moxfield CSVs to JSON, and validates decks against that pool.
Right now, I’d have to update the format manually every few months. I host my repo on Forgejo, but I’m not sure if it supports GitHub-style workflow automation.
What’s the best way to automate this update process? Should I use a cron job, or are there other alternatives I should consider for a Forgejo-hosted repo?
I don’t have much experience with CI/CD or scheduled automation, so any guidance or examples would be greatly appreciated.
Thanks!
What I do is create a function to check if the database need to be updated that is called everytime my scripts run, if it’s need then that function call the other that do the update.