Skip to content

ci: notify Grok Bot when an issue is opened - #4112

Closed
caio-pizzol wants to merge 1 commit into
mainfrom
ci/notify-grok-bot-new-issues
Closed

caio-pizzol wants to merge 1 commit into
mainfrom
ci/notify-grok-bot-new-issues

Conversation

@caio-pizzol

@caio-pizzol caio-pizzol commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Sends each newly opened issue to a Grok Bot routine, which starts an investigation thread and pings Caio. The bot never writes to GitHub.

Why an Action: Grok Bot's GitHub triggers have no `issue opened` event, and its webhook needs an `Authorization: Bearer` header that a repository webhook can't send.

  • Runs only on `issues: opened`, with no token permissions (`permissions: {}`).
  • Sends `{repo, issue, number}` to `GROKBOT_WEBHOOK_URL` with `GROKBOT_WEBHOOK_KEY`.
  • Exits 0 and skips when either secret is missing, so forks and an unset setup don't fail.

Tested the step locally against a mock endpoint: it sent the bearer header and the JSON body, and it skipped with exit 0 when the secrets were empty.

🤖 Generated with Claude Code

View guided diff

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@caio-pizzol
caio-pizzol deleted the ci/notify-grok-bot-new-issues branch October 29, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant