FirefoxCSS-Store / FirefoxCSS-Store.github.io

A collection site of Firefox userchrome themes, mostly from FirefoxCSS Reddit community.
https://firefoxcss-store.github.io/
725 stars 72 forks source link

Automatize all Github actions #221

Open Neikon opened 5 months ago

Neikon commented 5 months ago

I would like the "GitHub actions" to be executed automatically without the need to launch them by hand as happens with "build". And we can take advantage of the frontend rework to configure it that way.

unseen-ninja commented 5 months ago

Interesting discussion – querying all repos and updating them accordingly on a regular basis would actually be super beneficial as there are a couple themes that are currently listed where the repos don't even exist anymore. I initially planned to manually go through and check for outdated enties and just remove them.. but automating this and running it on a regular basis would be great. on top of that the recently updated idea is pretty neat as well.

BeyondMagic commented 5 months ago

The "Recently Updated" script cannot be automatized in Github actions, unfortunately, due to the API rate that is very low for our number of themes. We can, however, periodically run them with authentication -- thus increasing our API rate --, and being able to update the date of all themes!

I suggest we try to run them on the first day of the month every month, we don't have to complicate things by setting order of tasks for each other (like "it's you this month" or something like that), just you know, wake up, git pull, cd scripts, nu set_dates_themes.nu, then whoever did it first, did it! What do y'all think?