Skip to content

Send Update

The send-update.yml workflow fires when an issue with the draft label is closed. It sends emails to all subscribers for the associated product.

  1. Detects the closed issue has the draft label
  2. Parses the issue body for subject and email content
  3. Queries your subscriber store for active subscribers
  4. Sends emails via Resend
  5. Posts delivery stats as an issue comment

The workflow expects the draft issue body to follow this format:

**Subject:** Your email subject line here
---
Your email body HTML content here...
SecretDescription
GITHUB_TOKENGitHub personal access token
RESEND_API_KEYResend API key
FROM_EMAILSender email address
Subscriber store secretsDepends on your SUBSCRIBER_STORE choice

See Environment Variables for the full list.