ci: notify Grok Bot when an issue is opened

Closed
CA
4d ago
+33-0

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