Skip to main content
github.onRefCreated starts an automation when a branch or tag is created.
automations/github-ref-created.automation.ts
Returns GitHub’s typed create webhook payload. ref is the branch or tag name without a refs/... prefix, and ref_type is "branch" or "tag". Use a semantic trigger when only one ref type matters. Requires Contents read permission.