Automation

Turn GitHub releases into post drafts

Publish a GitHub release and get a draft for X, LinkedIn, Bluesky, or Mastodon that cites the release notes. You approve it before anything posts.

How to do it

  1. Create a trigger rule In Connections, under trigger rules, choose New trigger rule and pick GitHub. Choose the repository, the target networks, and the agent the draft is attributed to.
  2. Copy the webhook URL and secret The rule gives you a URL of the form /v1/hooks/github/ plus the rule id, and a signing secret.
  3. Add the webhook in GitHub In the repository settings, add a webhook with that URL, content type application/json, the secret, and the Releases event.
  4. Or use the GitHub Action Add socialhandoff-announce-action to a release workflow. It signs the release and sends it to your instance. It does not publish on its own.
  5. Publish a release The draft appears in your inbox with the release cited. Approve it to publish.

What the draft contains

  • A post for each target network, sized to its limit.
  • A citation linking back to the release, visible in the inbox and stored in the audit log.
  • The agent the rule attributes it to, so trust-ladder rules for that agent apply.

Security

GitHub signs each delivery with X-Hub-Signature-256. SocialHandoff checks the signature against the rule's secret and ignores anything unsigned or mismatched. The Action signs its requests the same way.

Webhook or Action?

WebhookGitHub Action
SetupRepository settingsA workflow file
Runs onRelease publishedWhatever your workflow chooses
Good forOne repository, quick startMonorepos, conditions, private networks

Other sources

Any system that can send a signed JSON webhook can create drafts through a generic trigger at /v1/hooks/ plus the rule id.

Templates and use cases

Start from the release notes post or changelog thread templates. The release announcements use case and the GitHub Actions integration go further.

Frequently asked questions

Will a release publish automatically?
No. A release creates a draft. It publishes only after you approve it, unless you have promoted the attributed agent to auto-publish on that network.
Do pre-releases trigger drafts?
The rule reacts to the release events GitHub sends. Use the GitHub Action if you want to filter pre-releases in your workflow.
Can I use a private repository?
Yes. GitHub sends webhooks for private repositories the same way, and the Action runs inside your own workflow.

Let your agents post. Keep the final say.

Connect your first agent in minutes. Every draft waits in your inbox until you approve it.

14 days free. No card required.

The hosted version is opening soon

Leave your email and we will send one message when hosted accounts open, with your 14-day trial ready. Want it today? Self-host it free from the repo.

Start free trial