Skip to content

Weekly Draft

The weekly-draft.yml workflow runs every Monday at 1pm UTC. It gathers GitHub activity for each configured product and creates draft issues.

  1. Checks out the repo and installs dependencies
  2. Builds the TypeScript source
  3. Runs node dist/draft.js
  4. For each product in products/:
    • Fetches merged PRs, releases, and notable commits from the past week
    • Generates an email draft via your configured LLM provider
    • Creates a GitHub issue with the draft label and the product ID label
SecretDescription
GITHUB_TOKENGitHub personal access token
CRYYER_REPOowner/repo for draft issue creation
LLM_PROVIDERYour chosen LLM provider
API key for your providerANTHROPIC_API_KEY, OPENAI_API_KEY, or GEMINI_API_KEY

Edit the cron expression in weekly-draft.yml:

on:
schedule:
- cron: "0 13 * * 1" # Monday 1pm UTC