What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.
GitHub Actions bills per runner minute, rounded up per job. A 10-second job costs a full
minute, and a large runner multiplies that minute. That is why the cost depends above all on how
many times we trigger CI and how many jobs each run starts.
What each event kicks off
Event
What runs
Relative weight
Local commit and push with the pre-push hook
Nothing on GitHub
0
Push to a draft PR
Title validation, labeling, Initiative Check and Danibot
Low: a few lightweight jobs
Push to a PR that is ready for review
CI plan and the lanes of each affected project (static, build, tests, checks, E2E), shared suites, Code review (AI), Initiative review (AI), Review gate and Danibot
High: around 40 jobs
Merge queue run
CI again, on the merge result
High
PR targeting release or master
Every lane of every project
Very high
More than 40% of each job’s time goes into setting up the environment: checkout, dependency
installation and cleanup. That is why ten short jobs cost much more than one long one.
Firm rules
Rule
What it saves
Always open as a draft and mark it ready only when pnpm initiatives:pr-check and the local tests pass
Every push before it is ready avoids ~40 jobs
One push per review round: group every fix
5 separate pushes ≈ 200 jobs; 1 push ≈ 40
Do not use “Update branch” or rebase onto develop unless there is a conflict
Every update is a full run; the queue already tests against the latest develop
No “wip” or “fix typo” pushes to a ready PR
Each one reruns everything and dismisses the approvals
[skip e2e] in the title if the change does not touch the UI
Skips the Playwright shards on the PR (the queue never skips them)
Do not use --no-verify
The hook finds on your machine what CI would find at a cost
Re-run only the failed jobs, never the whole workflow
CI pass markers skip the lanes that already passed with the same fingerprint on an earlier push
of the same PR. If your push only changes documentation, most lanes are skipped on their own.
What is coming
When a wave lands, some rules become automatic (for example, [skip e2e] is no longer needed in
Wave 1), but the method stays the same.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"B Brands Docs","colors":{"primary":"#0D5993","light":"#0789C9","dark":"#0D5993"},"logo":{"light":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f","dark":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-dark.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=2ec709f45e98d62d6cc6a8e23a735c5d"},"favicon":"https://mintcdn.com/bbrands/SChHqGy4T8DLbxhI/favicon.svg?fit=max\u0026auto=format\u0026n=SChHqGy4T8DLbxhI\u0026q=85\u0026s=3364f2bbd048ffc2d9ba3f4ec3de1d4f","api":{"openapi":["api-reference/maihue/lead/openapi.yaml","api-reference/auth/auth/register-migration-openapi.yaml","api-reference/auth/auth/verify-email-openapi.yaml","api-reference/webhook/openapi.yaml","api-reference/permission/api-key/openapi.yaml","api-reference/notification/notification/openapi.yaml","api-reference/notification/notification/read-openapi.yaml","api-reference/notification/inbox/openapi.yaml","api-reference/notification/onesignal-webhook/openapi.yaml","api-reference/maihue/onboarding/openapi.yaml","api-reference/maihue/onboarding/portal-openapi.yaml","api-reference/maihue/form/openapi.yaml","api-reference/maihue/form-answer/openapi.yaml","api-reference/maihue/form-question/openapi.yaml","api-reference/maihue/form-workflow/openapi.yaml","api-reference/maihue/form-workflow-step/openapi.yaml","api-reference/maihue/lead-answer/openapi.yaml","api-reference/permission/api-key-permission/openapi.yaml","api-reference/notification/preference/openapi.yaml","api-reference/notification/platform/openapi.yaml","api-reference/notification/platform/metric-openapi.yaml","api-reference/notification/template-version/openapi.yaml"]},"navbar":{"links":[{"href":"mailto:developers@bbrands.io","label":"Support"}],"primary":{"type":"button","label":"B Brands Lab","href":"https://www.bbrands.io"}},"footer":{"socials":{"github":"https://github.com/bbrandslab","website":"https://www.bbrands.io"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"es","href":"es/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bbrands","hasAudioNarration":false,"actualSubdomain":"bbrands","customDomains":["docs.bbrands.io"],"gitSource":{"type":"github","owner":"bbrandslab","repo":"bbrands-monorepo","deployBranch":"develop","contentDirectory":"backend/horizon-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"thumbs":true},"entitlements":{},"buildId":"6b08c32dc560574c778c9718","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Schemas","count":482},{"language":"default","tag":"API Reference","count":274},{"language":"en","tag":"Horizon Enterprise","count":185},{"language":"es","tag":"Horizon Enterprise","count":185},{"language":"en","tag":"Notifications","count":156},{"language":"es","tag":"Notificaciones","count":156},{"language":"default","tag":"General","count":101},{"language":"default","tag":"Maihue","count":97},{"language":"en","tag":"Events","count":95},{"language":"es","tag":"Eventos","count":95},{"language":"en","tag":"Notification","count":73},{"language":"default","tag":"Account","count":63},{"language":"en","tag":"API Reference","count":61},{"language":"en","tag":"Documentation","count":55},{"language":"es","tag":"Documentación","count":55},{"language":"default","tag":"Product","count":54},{"language":"default","tag":"Webhook","count":49},{"language":"default","tag":"MaihueStreet","count":48},{"language":"en","tag":"Customer portal","count":47},{"language":"es","tag":"Portal de clientes","count":47},{"language":"default","tag":"Code","count":43},{"language":"default","tag":"Permission","count":32},{"language":"es","tag":"Acceso","count":26},{"language":"es","tag":"Primeros pasos","count":21},{"language":"en","tag":"Catalog and templates","count":20},{"language":"es","tag":"Catálogo y plantillas","count":20},{"language":"en","tag":"BBrands Lab","count":19},{"language":"en","tag":"MaihueGo","count":19},{"language":"es","tag":"BBrands Lab","count":19},{"language":"es","tag":"MaihueGo","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar a img{height:3rem!important}.wave-status{align-items:baseline;border:1px solid;border-radius:0.75rem;display:flex;flex-wrap:wrap;font-size:0.875rem;gap:0.25rem 0.5rem;line-height:1.5;margin:0.75rem 0;padding:0.5rem 0.75rem}.wave-status a{border-bottom:0;color:inherit;font-weight:600;text-decoration:none}.wave-status a:hover{text-decoration:underline}.wave-status--active{background:#ecfdf5;border-color:rgb(16 185 129 / 0.35);color:#064e3b}.wave-status--planned{background:#fffbeb;border-color:rgb(245 158 11 / 0.35);color:#78350f}.dark .wave-status--active{background:rgb(16 185 129 / 0.1);color:#a7f3d0}.dark .wave-status--planned{background:rgb(245 158 11 / 0.1);color:#fde68a}"}]}
{"page":{"pagePath":"bbrands-lab/pull-requests/ci-cost","slug":"/bbrands-lab/pull-requests/ci-cost","pageMetadata":{"title":"CI and cost per PR","description":"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.","href":"/bbrands-lab/pull-requests/ci-cost"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const WaveStatus=({children,lang=`es`,state=`planned`,wave})=>{const _components={a:`a`,..._provideComponents()};const active=state===`active`;const roadmap=lang===`es`?`/es/bbrands-lab/pull-requests/waves-roadmap`:`/bbrands-lab/pull-requests/waves-roadmap`;const label=lang===`es`?active?`Vigente desde la Ola ${wave}`:`Llega en la Ola ${wave}`:active?`In force since Wave ${wave}`:`Arrives in Wave ${wave}`;return _jsxs(`div`,{className:`not-prose wave-status wave-status--${active?`active`:`planned`}`,children:[_jsx(_components.a,{href:roadmap,children:label}),children?_jsx(`span`,{children}):null]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Info,Table,Tip,_MdxComponentBoundary}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`GitHub Actions bills per runner minute, `,_jsx(_components.strong,{children:`rounded up per job`}),`. A 10-second job costs a full\nminute, and a large runner multiplies that minute. That is why the cost depends above all on `,_jsx(_components.strong,{children:`how\nmany times`}),` we trigger CI and `,_jsx(_components.strong,{children:`how many jobs`}),` each run starts.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-each-event-kicks-off`,children:`What each event kicks off`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`What runs`}),_jsx(_components.th,{children:`Relative weight`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Local commit and push with the pre-push hook`}),_jsx(_components.td,{children:`Nothing on GitHub`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Push to a `,_jsx(_components.strong,{children:`draft`}),` PR`]}),_jsx(_components.td,{children:`Title validation, labeling, Initiative Check and Danibot`}),_jsx(_components.td,{children:`Low: a few lightweight jobs`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Push to a PR that is `,_jsx(_components.strong,{children:`ready for review`})]}),_jsxs(_components.td,{children:[`CI plan and the lanes of each affected project (static, build, tests, checks, E2E), shared suites, `,_jsx(_components.code,{children:`Code review (AI)`}),`, `,_jsx(_components.code,{children:`Initiative review (AI)`}),`, Review gate and Danibot`]}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`High: around 40 jobs`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Merge queue`}),` run`]}),_jsx(_components.td,{children:`CI again, on the merge result`}),_jsx(_components.td,{children:`High`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`PR targeting `,_jsx(_components.code,{children:`release`}),` or `,_jsx(_components.code,{children:`master`})]}),_jsx(_components.td,{children:`Every lane of every project`}),_jsx(_components.td,{children:`Very high`})]})]})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`More than 40% of each job’s time goes into setting up the environment: checkout, dependency\ninstallation and cleanup. That is why ten short jobs cost much more than one long one.`})}),`\n`,_jsx(Heading,{level:`2`,id:`firm-rules`,children:`Firm rules`}),`\n`,_jsx(_MdxComponentBoundary,{name:`WaveStatus`,children:_jsx(WaveStatus,{lang:`en`,wave:0,state:`active`,children:`These rules apply from today to every PR, from people and agents alike.`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`What it saves`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Always open as a draft`}),` and mark it ready only when `,_jsx(_components.code,{children:`pnpm initiatives:pr-check`}),` and the local tests pass`]}),_jsx(_components.td,{children:`Every push before it is ready avoids ~40 jobs`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`One push per review round`}),`: group every fix`]}),_jsx(_components.td,{children:`5 separate pushes ≈ 200 jobs; 1 push ≈ 40`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Do not use “Update branch”`}),` or rebase onto `,_jsx(_components.code,{children:`develop`}),` unless there is a conflict`]}),_jsxs(_components.td,{children:[`Every update is a full run; the queue already tests against the latest `,_jsx(_components.code,{children:`develop`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`No “wip” or “fix typo” pushes`}),` to a ready PR`]}),_jsx(_components.td,{children:`Each one reruns everything and dismisses the approvals`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`[skip e2e]`})}),` in the title if the change does not touch the UI`]}),_jsx(_components.td,{children:`Skips the Playwright shards on the PR (the queue never skips them)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Do not use `,_jsx(_components.code,{children:`--no-verify`})]})}),_jsx(_components.td,{children:`The hook finds on your machine what CI would find at a cost`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Re-run only the failed jobs`}),`, never the whole workflow`]}),_jsx(_components.td,{children:`Avoids repeating the lanes that already passed`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Multi-PR with an integration branch`}),` (`,_jsx(_components.a,{href:`/bbrands-lab/pull-requests/level-3-multi-pr`,children:`Level 3`}),`)`]}),_jsx(_components.td,{children:`N full runs become 1`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Integrate often`}),` (`,_jsx(_components.a,{href:`/bbrands-lab/pull-requests/level-4-module-initiative`,children:`Level 4`}),`)`]}),_jsx(_components.td,{children:`Avoids the cascading rebases of a big-bang merge`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`CI pass markers skip the lanes that already passed with the same fingerprint on an earlier push\nof the same PR. If your push only changes documentation, most lanes are skipped on their own.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-coming`,children:`What is coming`}),`\n`,_jsx(_MdxComponentBoundary,{name:`WaveStatus`,children:_jsx(WaveStatus,{lang:`en`,wave:1,children:`E2E in the merge queue with an option to request it on the PR, no Danibot jobs after skipped runs, the label inside the title check, checkout without the Drizzle snapshots and no gate jobs in the queue.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`WaveStatus`,children:_jsx(WaveStatus,{lang:`en`,wave:2,children:`Small projects grouped into fewer jobs, Turbo without forced runs in the queue, related tests on the PR and installation filtered per lane.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`WaveStatus`,children:_jsx(WaveStatus,{lang:`en`,wave:3,children:`Heavy lanes on external or self-hosted runners, and Danibot outside Actions publishing the policy checks and a Review gate that does not poll.`})}),`\n`,_jsxs(_components.p,{children:[`When a wave lands, some rules become automatic (for example, `,_jsx(_components.code,{children:`[skip e2e]`}),` is no longer needed in\nWave 1), but the method stays the same.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{WaveStatus,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"CI and cost per PR","description":"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.","href":"/bbrands-lab/pull-requests/ci-cost"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[146,747,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"What each event kicks off","slug":"what-each-event-kicks-off","depth":2,"children":[]},{"title":"Firm rules","slug":"firm-rules","depth":2,"children":[]},{"title":"What is coming","slug":"what-is-coming","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bbrands","siteName":"B Brands Docs","title":"CI and cost per PR - B Brands Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/bbrands-lab/pull-requests/ci-cost","matchLevel":0},"es":{"href":"/es/bbrands-lab/pull-requests/ci-cost","matchLevel":1}}},"lastModified":"2026-11-12T15:19:06.987Z","originalFileLocation":"bbrands-lab/pull-requests/ci-cost.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CI and cost per PR - B Brands Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"B Brands Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=Working+with+Pull+Requests\u0026amp;title=CI+and+cost+per+PR\u0026amp;description=What+each+PR+event+kicks+off+in+GitHub+Actions%2C+and+the+rules+that+save+the+most+runner+minutes.\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=14b37568588ecea6dabe5a05551e55d3cad87a330db48f9f6141e97ef33e1cfa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"CI and cost per PR - B Brands Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=Working+with+Pull+Requests\u0026amp;title=CI+and+cost+per+PR\u0026amp;description=What+each+PR+event+kicks+off+in+GitHub+Actions%2C+and+the+rules+that+save+the+most+runner+minutes.\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=14b37568588ecea6dabe5a05551e55d3cad87a330db48f9f6141e97ef33e1cfa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D5993\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/bbrands-lab/pull-requests/ci-cost.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.bbrands.io/es/bbrands-lab/pull-requests/ci-cost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bbrands.io/#organization\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bbrands.io#website\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost#webpage\",\"url\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\",\"name\":\"CI and cost per PR\",\"description\":\"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\",\"dateModified\":\"2026-11-12T15:19:06.987Z\",\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Working with Pull Requests\",\"item\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CI and cost per PR\",\"item\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost#article\",\"headline\":\"CI and cost per PR\",\"name\":\"CI and cost per PR\",\"description\":\"What each PR event kicks off in GitHub Actions, and the rules that save the most runner minutes.\",\"url\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost#webpage\"},\"dateModified\":\"2026-11-12T15:19:06.987Z\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"B Brands Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"B Brands Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/bbrands-lab/pull-requests/ci-cost.md","siteName":"B Brands Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Horizon Enterprise","pages":[{"title":"Horizon Enterprise","href":"/enterprise/getting-started/introduction"}]},{"tab":"BBrands Lab","groups":[{"group":"BBrands Lab","pages":[{"title":"Welcome to BBrands Lab","href":"/bbrands-lab/introduction"}]},{"group":"Working with Pull Requests","pages":[{"title":"Working with Pull Requests","sidebarTitle":"Overview","href":"/bbrands-lab/pull-requests/overview"},{"title":"Choose the scope level","href":"/bbrands-lab/pull-requests/choose-level"},{"title":"Level 1 · Fix","href":"/bbrands-lab/pull-requests/level-1-fix"},{"title":"Level 2 · Scoped development","href":"/bbrands-lab/pull-requests/level-2-development"},{"title":"Level 3 · Multi-PR feature","href":"/bbrands-lab/pull-requests/level-3-multi-pr"},{"title":"Level 4 · Module initiative","href":"/bbrands-lab/pull-requests/level-4-module-initiative"},{"title":"Lifecycle and checks","href":"/bbrands-lab/pull-requests/lifecycle"},{"title":"Commits, title and description","href":"/bbrands-lab/pull-requests/commits-and-titles"},{"title":"Human and AI review","href":"/bbrands-lab/pull-requests/review"},{"title":"Releases and hotfix","description":"How a change travels from develop to production: candidates, release, sync and CalVer versioning.","href":"/bbrands-lab/pull-requests/releases-and-hotfix"},{"title":"CI and cost per PR","href":"/bbrands-lab/pull-requests/ci-cost"},{"title":"Waves roadmap","description":"The four waves of the CI optimization plan: what each one includes, its status and what changes for whoever opens PRs.","href":"/bbrands-lab/pull-requests/waves-roadmap"},{"title":"Checklist for agents","href":"/bbrands-lab/pull-requests/agents-checklist"},{"title":"Frequently asked questions","href":"/bbrands-lab/pull-requests/faq"}]},{"group":"Releases","pages":[{"title":"Releases","href":"/bbrands-lab/releases/overview"}]},{"group":"Environments","pages":[{"title":"Environments","href":"/bbrands-lab/environments/overview"}]},{"group":"Quality","pages":[{"title":"Quality","href":"/bbrands-lab/quality/overview"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/account/account/find-all"}]},{"tab":"Schemas","pages":[{"title":"Schemas","href":"/schemas/account/account"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/outbound-webhooks"}]},{"tab":"MaihueGo","pages":[{"title":"MaihueGo","href":"/maihuego/introduction"}]},{"tab":"Customer portal","pages":[{"title":"Customer portal","href":"/portal-customer/introduction"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/bbrands-lab/pull-requests/ci-cost"}]}]},"basePath":"","title":"CI and cost per PR - B Brands Docs","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":[],"chunks":[]}