tracksolid_timescale_grafan.../.forgejo/workflows/scheduled-audit.yml
David Kiania 20d3ddb841 feat: add db_audit health checks, runner, and scheduled Forgejo workflow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:40:29 +03:00

20 lines
455 B
YAML

name: DB Audit
on:
schedule:
- cron: "0 3 * * *" # 03:00 UTC = 06:00 EAT daily
workflow_dispatch: # Also runnable manually from Forgejo UI
jobs:
audit:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install psycopg2-binary
- name: Run DB audit
run: python db_audit/run_audit.py
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}