{"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.failed","job.leaked","job.cancelled","stack.ready","stack.failed","stack.timedout","container.ready","container.start-failed","container.stopped"],"matcher":"preview-stacks · job.started, 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"}]}],"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},"rulesEnabled":false,"panels":[]}