Skip to main content

Review apps: opt-out by label

review-apps-opt-out.ts

const config = {
appName: "test-app",
customerName: "pan",
pipelines: {
gitlab: true,
github: true,
},
reviewApps: {
// every MR/PR deploys, unless it carries the `catladder:no-review-app` label
deploy: "optOut",
// draft MRs/PRs run no pipeline at all
drafts: "skip",
},
components: {
app: {
dir: "app",
build: {
type: "node",
},
deploy: {
type: "google-cloudrun",
projectId: "asdf",
region: "europe-west6",
},
},
},
} satisfies Config;

export const information = {
title: "Review apps: opt-out by label",
description:
"Every merge request / pull request deploys its review app unless it carries the `catladder:no-review-app` label. Draft MRs/PRs run no pipeline at all.",
};