Skip to content

GitHub Actions

Mundo edited this page Apr 8, 2026 · 2 revisions

GitHub Actions

Overview

Oh My Workers uses GitHub Actions for automated daily runs. This is more reliable than local cron since it doesn't require your machine to be awake.

Workflows

Workflow File Schedule Description
Daily GitHub Trending morning-news.yml 10pm UTC (8am AEST) Scrape trending repos, curate, send via Telegram
Daily Cleanup cleanup.yml 7am UTC (5pm AEST) Delete stale company DB records
Daily KPI Report daily-kpi.yml Manual trigger GitHub activity + manual input + diary report
Mock Data Seeding seed-mock-users.yml 6:30am UTC (4:30pm AEST) Seed test data into company DB

Required Secrets

Go to Settings → Secrets and variables → Actions and add:

Secret Required By
ANTHROPIC_API_KEY All workflows
NEON_WORK_COORDINATOR_DB_URL All workflows
TELEGRAM_BOT_TOKEN GitHub Trending
TELEGRAM_CHAT_ID GitHub Trending
NEON_MOCK_COMPANY_DB_URL Cleanup, Seeding
COMPANY_CLEANUP_TABLE Cleanup
COMPANY_CLEANUP_THRESHOLD_DAYS Cleanup
TARGET_GITHUB_USERNAME KPI Report

Manual Triggers

All workflows support workflow_dispatch — trigger manually via:

Actions tab → Select workflow → Run workflow

The Daily KPI Report workflow includes an input form for manual activities.

Timezone Notes

GitHub Actions cron uses UTC. Conversions for Sydney:

Sydney Time UTC (AEST, Apr-Oct) UTC (AEDT, Oct-Apr)
8:00 AM 10:00 PM (previous day) 9:00 PM (previous day)
4:30 PM 6:30 AM 5:30 AM
5:00 PM 7:00 AM 6:00 AM

The cron schedules use AEST (UTC+10). During daylight saving (AEDT), jobs will fire 1 hour later in Sydney time.

Clone this wiki locally