Webhook GitHub

Webhook GitHub

Configuração

1. OpenClaw

webhooks:
  - path: /webhook/github
    handler: github-events
    secret: "seu-secret"

2. GitHub

  1. Repo → Settings → Webhooks
  2. Add webhook
  3. URL: https://seu-servidor:18789/webhook/github
  4. Secret: mesmo do config
  5. Eventos: Escolha quais

Eventos Úteis

  • push
  • pull_request
  • issues
  • release

Exemplo de Ação

Quando PR for aberto:
- Analise as mudanças
- Comente review inicial
- Me notifique se complexo