caelum0x a8e8648a9b feat: composite action that keeps a free Supabase project from pausing
REST root ping + cheap table/rpc query with the anon key, retries with
backoff, job summary, early warnings (stale last success, weekly cron,
GitHub 60-day schedule disable), copy-paste workflow examples and a
curl-only fallback. Self-test workflow runs against a real endpoint.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-12 07:54:48 +03:00

26 lines
627 B
YAML

# Several free projects from one repository. Each project gets its own pair of secrets.
name: Keep Supabase projects alive
on:
schedule:
- cron: "41 7 * * *"
workflow_dispatch:
permissions:
contents: read
actions: read
jobs:
ping:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [APP, BLOG, STAGING]
steps:
- uses: caelum0x/supabase-keep-alive-action@v1
with:
url: ${{ secrets[format('SUPABASE_URL_{0}', matrix.project)] }}
anon-key: ${{ secrets[format('SUPABASE_ANON_KEY_{0}', matrix.project)] }}
table: keepalive