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.
What it does
Section titled “What it does”- Checks out the repo and installs dependencies
- Builds the TypeScript source
- Runs
node dist/draft.js - 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
draftlabel and the product ID label
Required secrets
Section titled “Required secrets”| Secret | Description |
|---|---|
GITHUB_TOKEN | GitHub personal access token |
CRYYER_REPO | owner/repo for draft issue creation |
LLM_PROVIDER | Your chosen LLM provider |
| API key for your provider | ANTHROPIC_API_KEY, OPENAI_API_KEY, or GEMINI_API_KEY |
Customizing the schedule
Section titled “Customizing the schedule”Edit the cron expression in weekly-draft.yml:
on: schedule: - cron: "0 13 * * 1" # Monday 1pm UTC