{"title":"Namefi event automation","sources":[{"id":"github","path":"/webhooks/github"},{"id":"vercel","path":"/webhooks/vercel"}],"rules":[{"name":"vercel-prod-deploy-check","source":"vercel","events":["deployment.created","deployment.succeeded","deployment.error","deployment.canceled"],"matcher":"(target is \"production\" or target is \"preview\")","handlers":[{"id":"github.checkRun","description":"mirror the Vercel deploy to a GitHub check"}]},{"name":"event-automation-preview-test-deploy","source":"github","events":["pull_request.synchronize"],"matcher":"has label \"preview-test\"","handlers":[{"id":"github.workflowDispatch","description":"redeploy the event-automation preview from the PR's branch"}]},{"name":"gce-preview-deploy-synchronize","source":"github","events":["pull_request.synchronize"],"matcher":"has all labels [\"preview-synchronize\", /^gce-preview.*/]","handlers":[{"id":"github.workflowDispatch","description":"deploy this PR to a GCE preview box"}]}],"handlerIds":["http.post","github.checkRun","github.workflowDispatch","github.repositoryDispatch","vercel.triggerDeployHook","vercel.createDeployment"],"handlers":[{"id":"http.post","description":"Send an HTTP POST request (e.g. a Slack/webhook notification)","critical":true},{"id":"github.checkRun","description":"Create a completed GitHub check run on the event’s commit","critical":true},{"id":"github.workflowDispatch","description":"Trigger a workflow_dispatch run of a GitHub Actions workflow","critical":true},{"id":"github.repositoryDispatch","description":"Send a repository_dispatch event to a GitHub repository","critical":true},{"id":"vercel.triggerDeployHook","description":"Trigger a Vercel deploy hook (POST to its URL)","critical":true},{"id":"vercel.createDeployment","description":"Create a new deployment via the Vercel API","critical":true}],"config":{"org":"d3servelabs","allowedRepos":["namefi-astra","namefi-resources"],"eventLogLimit":500}}