GitHub Actions
Cryyer provides two automation pipelines, each suited to different workflows.
Release pipeline (file-based)
Section titled “Release pipeline (file-based)”Best for projects that send emails on each release. Uses draft files committed to the repo.
| Workflow | Trigger | Purpose |
|---|---|---|
| Draft Email | Release-please PR opened/updated | Generate a draft file and commit it to the PR |
| Send Email | GitHub Release published | Send emails to subscribers (requires manual approval) |
Flow:
- Push to
main→ release-please opens/updates a version-bump PR draft-email.ymlgeneratesdrafts/vX.Y.Z.mdand commits it to the PR branch- You can review and edit the draft file directly in the PR
- Merge the PR → tag pushed → npm publish → GitHub Release created
send-email.ymlfires but pauses for approval — you review the draft in the Actions UI, then approve to send
The release pipeline uses the composite actions (draft-file and send-file) under the hood.
Weekly pipeline (issue-based)
Section titled “Weekly pipeline (issue-based)”Best for recurring digest emails on a schedule. Uses GitHub issues for review.
| Workflow | Trigger | Purpose |
|---|---|---|
| Weekly Draft | Cron (Monday 1pm UTC) | Gather activity, create draft issues |
| Send Update | Issue closed with draft label | Send emails to subscribers |
Flow:
- Monday:
weekly-draft.ymlgathers GitHub activity, generates LLM drafts, creates issues with thedraftlabel - You review and edit the draft issues in GitHub
- Close the issue to approve
send-update.ymlsends emails and posts delivery stats as a comment
Shared workflows
Section titled “Shared workflows”| Workflow | Trigger | Purpose |
|---|---|---|
| CI | Push/PR to main | Lint, typecheck, test |