Pretty cool! But, before you jump into it...
Unless Github have changed their terms, this is against the ToS of Github actions. If I recall correctly, they are meant to be used for building/testing/maintaining the project included in the repo.
Regardless, don't lean on these big-tech central points of failure.
It can be taken away from you on the arbitrary whim of some exec - not
a great resilience plan for an availability monitor if you're doing anything
remotely serious.
> if using GitHub-hosted runners, any other activity unrelated to the production, testing, deployment, or publication of the software project associated with the repository where GitHub Actions are used.
Also, GitHub actions is not necessarily free. There is a $0.008/minute fee for every run. You just don’t think about it because you have minutes included in your current plan. This tool runs every 5 minutes which by my math equates to ~8640 runs/month. GitHub’s free edition has 2000 minutes/month. You can see how this might actually be great for GitHub’s bottom line.
Maker here. When you have an open-source project (i.e., public repository), you get unlimited minutes for free. The free edition's 2,000 minutes per month only count if it's a private repository.
Generally it’ll be used for monitoring uptime of another project. So even if that falls under “maintaining” it wouldn’t be for the project “in the repository”, unless you somehow combine upptime into the repo of the project you’re monitoring. But that could get very messy.
nonrandomstring|3 years ago
majkinetor|3 years ago
remram|3 years ago
> Actions should not be used for: [...]
> if using GitHub-hosted runners, any other activity unrelated to the production, testing, deployment, or publication of the software project associated with the repository where GitHub Actions are used.
dkobia|3 years ago
anandchowdhary|3 years ago
majkinetor|3 years ago
harg|3 years ago