Skip to content

ci: add Grok Bot release notification workflow - #57

Open
johnleider wants to merge 1 commit into
masterfrom
cursor/grok-bot-release-notify-54ca
Open

johnleider wants to merge 1 commit into
masterfrom
cursor/grok-bot-release-notify-54ca

Conversation

@johnleider

Copy link
Copy Markdown
Member

Summary

Adds a GitHub Actions workflow that notifies Grok Bot when a release is published, enabling automated social draft creation.

Changes

  • Add .github/workflows/grok-bot-release-notify.yml

How it works

  1. Workflow triggers on release.published events
  2. Extracts release metadata (tag, name, URL, prerelease status, body)
  3. POSTs JSON payload to Grok Bot webhook with Bearer authentication
  4. Uses existing repo secrets GROK_BOT_RELEASE_WEBHOOK_URL and GROK_BOT_RELEASE_WEBHOOK_KEY

Why

Native GitHub repo webhooks cannot send Authorization Bearer headers. This Action POSTs the required JSON payload with proper authentication to the Grok Bot webhook endpoint.

Open in Web Open in Cursor 

Add GitHub Actions workflow that POSTs to Grok Bot webhook when a
release is published. This enables automated social draft creation
for new releases.

The workflow:
- Triggers on release.published events
- Extracts release metadata (tag, name, URL, body, etc.)
- POSTs JSON payload to webhook with Bearer authentication
- Uses repo secrets GROK_BOT_RELEASE_WEBHOOK_URL and GROK_BOT_RELEASE_WEBHOOK_KEY

Co-authored-by: John Leider <johnleider@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants