Is scheduled production forecast-cache generation permitted on GitHub Actions? #212445
Replies: 2 comments
|
Hey @lumbrestudios , Yes, this is permitted, with a couple of conditions worth noting. GitHub Actions' Additional Terms explicitly call out the serverless application example (functions that run on events and terminate) and restrict use to software development workflows — which is where the nuance lives. Why RayBar's workload qualifies: The solar-forecast cache generator is a development-adjacent data pipeline that directly supports a live feature of the application you're building and maintaining. It is:
The key condition in the terms is that Actions must not be used as a "free compute provider for other purposes." Writing precomputed rows to your own Supabase backend for your own application's Garden Sun feature is your application running, not outsourced compute for someone else. The one real condition to keep in mind: GitHub's terms do restrict using Actions as a "workflow runner for any application" in the sense of ongoing production serving unrelated to software development. The safe framing — which fits your workload honestly — is that this cron job is part of the build and release pipeline of RayBar: it keeps the app's data layer current so the feature works. That's a legitimate software development workflow, not a general cronjob hosting service. Practical conditions to stay clearly on-side:
Your CI qualification run is irrelevant to eligibility — it's a good-faith practice, not a waiver request. You're clear to enable the ongoing workload. Hope this helps! |
|
Thanks for the detailed response! Just to clarify, this workflow would generate data used directly by our live production app every day. It isn't a build, test or deployment job. Could a GitHub staff member confirm whether that specific ongoing production use is permitted under the Actions terms? We're keen to remain fully compliant before enabling it. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Schedule & Cron Jobs
Discussion Details
We maintain RayBar in the private
lumbrestudios/raybarrepository on GitHub Free. May GitHub-hosted Actions run our application's deterministic solar-forecast cache generator four times daily, writing precomputed forecast rows to our Supabase database for the live Garden Sun feature? Each run terminates; it serves no HTTP requests, provides no resale/proxy service, and uses under 600 standard Linux runner minutes monthly. This is ongoing operation of the application, rather than a build, test or deployment. Is this permitted under the Actions additional terms, including the serverless-application example and development/testing restriction? If permitted, please confirm any conditions.We have used one fixture-only CI qualification run with no database connections. That test does not constitute production use or a request to waive the terms. Please confirm eligibility for the ongoing workload before we enable it.
All reactions