{"nodes":[{"id":"source:github","position":{"x":0,"y":0},"data":{"label":"github","kind":"source","meta":"/webhooks/github","detail":[{"label":"Webhook path","value":"/webhooks/github"}]}},{"id":"source:vercel","position":{"x":0,"y":90},"data":{"label":"vercel","kind":"source","meta":"/webhooks/vercel","detail":[{"label":"Webhook path","value":"/webhooks/vercel"}]}},{"id":"rule:vercel-prod-deploy-check","position":{"x":360,"y":0},"data":{"label":"vercel-prod-deploy-check","kind":"rule","meta":"deployment.created, deployment.succeeded, deployment.error, deployment.canceled","detail":[{"label":"Condition","value":"(target is \"production\" or target is \"preview\")"},{"label":"Source","value":"vercel"},{"label":"Events","value":"deployment.created, deployment.succeeded, deployment.error, deployment.canceled"},{"label":"Handlers","value":"github.checkRun — mirror the Vercel deploy to a GitHub check"}]}},{"id":"handler:github.checkRun::mirror the Vercel deploy to a GitHub check","position":{"x":760,"y":0},"data":{"label":"mirror the Vercel deploy to a GitHub check","kind":"handler","meta":"github.checkRun","detail":[{"label":"Handler","value":"github.checkRun"},{"label":"Used by","value":"vercel-prod-deploy-check"}]}},{"id":"rule:event-automation-preview-test-deploy","position":{"x":360,"y":90},"data":{"label":"event-automation-preview-test-deploy","kind":"rule","meta":"pull_request.synchronize","detail":[{"label":"Condition","value":"has label \"preview-test\""},{"label":"Source","value":"github"},{"label":"Events","value":"pull_request.synchronize"},{"label":"Handlers","value":"github.workflowDispatch — redeploy the event-automation preview from the PR's branch"}]}},{"id":"handler:github.workflowDispatch::redeploy the event-automation preview from the PR's branch","position":{"x":760,"y":90},"data":{"label":"redeploy the event-automation preview from the PR's branch","kind":"handler","meta":"github.workflowDispatch","detail":[{"label":"Handler","value":"github.workflowDispatch"},{"label":"Used by","value":"event-automation-preview-test-deploy"}]}},{"id":"rule:gce-preview-deploy-synchronize","position":{"x":360,"y":180},"data":{"label":"gce-preview-deploy-synchronize","kind":"rule","meta":"pull_request.synchronize","detail":[{"label":"Condition","value":"has all labels [\"preview-synchronize\", /^gce-preview.*/]"},{"label":"Source","value":"github"},{"label":"Events","value":"pull_request.synchronize"},{"label":"Handlers","value":"github.workflowDispatch — deploy this PR to a GCE preview box"}]}},{"id":"handler:github.workflowDispatch::deploy this PR to a GCE preview box","position":{"x":760,"y":180},"data":{"label":"deploy this PR to a GCE preview box","kind":"handler","meta":"github.workflowDispatch","detail":[{"label":"Handler","value":"github.workflowDispatch"},{"label":"Used by","value":"gce-preview-deploy-synchronize"}]}}],"edges":[{"id":"e:src:vercel->vercel-prod-deploy-check","source":"source:vercel","target":"rule:vercel-prod-deploy-check"},{"id":"e:rule:vercel-prod-deploy-check->handler:github.checkRun::mirror the Vercel deploy to a GitHub check","source":"rule:vercel-prod-deploy-check","target":"handler:github.checkRun::mirror the Vercel deploy to a GitHub check","animated":true},{"id":"e:src:github->event-automation-preview-test-deploy","source":"source:github","target":"rule:event-automation-preview-test-deploy"},{"id":"e:rule:event-automation-preview-test-deploy->handler:github.workflowDispatch::redeploy the event-automation preview from the PR's branch","source":"rule:event-automation-preview-test-deploy","target":"handler:github.workflowDispatch::redeploy the event-automation preview from the PR's branch","animated":true},{"id":"e:src:github->gce-preview-deploy-synchronize","source":"source:github","target":"rule:gce-preview-deploy-synchronize"},{"id":"e:rule:gce-preview-deploy-synchronize->handler:github.workflowDispatch::deploy this PR to a GCE preview box","source":"rule:gce-preview-deploy-synchronize","target":"handler:github.workflowDispatch::deploy this PR to a GCE preview box","animated":true}]}