{"title":"HOU event automation","sources":[{"id":"github","path":"/webhooks/github"},{"id":"preview-stacks","path":"/webhooks/preview-stacks"}],"rules":[{"name":"pstack-preview-checks","source":"preview-stacks","events":["job.started","job.succeeded","job.failed","job.leaked","job.cancelled","stack.ready","stack.failed","stack.timedout","container.ready","container.start-failed","container.stopped"],"matcher":"preview-stacks · job.started, job.succeeded, job.failed, job.leaked, job.cancelled, stack.ready, stack.failed, stack.timedout, container.ready, container.start-failed, container.stopped","handlers":[{"id":"inline#0","description":"mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment"}]},{"name":"pstack-forget-closed-pr","source":"github","events":["pull_request.closed"],"matcher":"github · pull_request.closed","handlers":[{"id":"inline#0","description":"drop the closed PR’s preview-stack state from memory"}]},{"name":"cloudybot-command-comment","source":"github","events":["issue_comment.created","issue_comment.edited"],"matcher":"github · issue_comment.created, issue_comment.edited","handlers":[{"id":"inline#0","description":"run the @cloudybot recheck/redeploy/restart command in a PR comment"}]},{"name":"cloudybot-command-label","source":"github","events":["pull_request.labeled"],"matcher":"github · pull_request.labeled","handlers":[{"id":"inline#0","description":"run the cloudy-recheck/redeploy/restart command applied as a label"}]},{"name":"pr-opened-preview-labels","source":"github","events":["pull_request.opened"],"matcher":"github · pull_request.opened","handlers":[{"id":"inline#0","description":"explain the preview labels on a newly opened PR"}]}],"handlerIds":["http.post","github.checkRun","github.workflowDispatch","github.repositoryDispatch"],"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}],"config":{"org":"housing-cloud","allowedRepos":["web"],"pstackRepo":"web","pstackServices":["db-seed","web"],"pstackBaseUrl":"https://preview.hou-clou.dev","eventLogLimit":500,"flowRunLimit":200},"rulesEnabled":false,"panels":[]}