discourse / mini_mime

minimal mime type library
MIT License
95 stars 34 forks source link

Automatic updates from mime-types-data? #30

Closed Fryguy closed 3 years ago

Fryguy commented 3 years ago

Would it be possible for this to be automatically built when mime-types-data changes?

I'm not sure exactly how it would work, but I think now that this repo is on GitHub Actions, it might be possible to react to a workflow event from the mime-types-data repo, or perhaps less elegantly, just run a scheduled cron on some interval.

I can envision a task that, when run, automatically runs bundle exec rake rebuild_db, and if there are changes creates a pull request.

SamSaffron commented 3 years ago

I would love to have something like this set up, feel free to give it a shot using github actions.

I just checked now and we are still up-to-date.

Fryguy commented 3 years ago

Closed via #33