1"use strict";(self.webpackChunkbuildbuddy_docs_website=self.webpackChunkbuildbuddy_docs_website||[]).push([[4003],{22531(e,n,t){t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var a=t(30354),o=t(86070),r=t(35676);const s={title:"Auto-cancel duplicate CI runs on the same branch",date:new Date("2026-05-04T10:00:00.000Z"),authors:"maggie",tags:["CI"]},c=void 0,i={authorsImageUrls:[void 0]},l=[];function u(e){const n={a:"a",code:"code",p:"p",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.p,{children:"Starting June 1, 2026, BuildBuddy will automatically cancel in-progress Workflow runs when a newer run is triggered for the same action on a non-default branch. This helps avoid wasting resources on outdated runs when, for example, several commits are pushed in quick succession to a pull request branch."}),"\n",(0,o.jsx)(n.p,{children:"This behavior only applies to non-default branches. Runs on your repo's default branch are not affected."}),"\n",(0,o.jsxs)(n.p,{children:["If you'd like to disable this behavior and allow concurrent runs for an action, set ",(0,o.jsx)(n.code,{children:"allow_concurrent_runs: true"})," in the action's configuration."]}),"\n",(0,o.jsxs)(n.p,{children:["See the ",(0,o.jsx)(n.a,{href:"/docs/workflows-config#concurrent-workflow-runs",children:"Workflows configuration docs"})," for more details."]})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},35676(e,n,t){t.d(n,{R:()=>s,x:()=>c});var a=t(30758);const o={},r=a.createContext(o);function s(e){const n=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),a.createElement(r.Provider,{value:n},e.children)}},30354(e){e.exports=JSON.parse('{"permalink":"/changelog/workflow-auto-cancel","editUrl":"https://github.com/buildbuddy-io/buildbuddy/edit/master/website/changelog/changelog/workflow-auto-cancel.md","source":"@site/changelog/workflow-auto-cancel.md","title":"Auto-cancel duplicate CI runs on the same branch","description":"Starting June 1, 2026, BuildBuddy will automatically cancel in-progress Workflow runs when a newer run is triggered for the same action on a non-default branch. This helps avoid wasting resources on outdated runs when, for example, several commits are pushed in quick succession to a pull request branch.","date":"2026-05-04T10:00:00.000Z","tags":[{"inline":true,"label":"CI","permalink":"/changelog/tags/ci"}],"hasTruncateMarker":false,"authors":[{"name":"Maggie Lou","title":"Engineer @ BuildBuddy","url":"https://www.linkedin.com/in/maggie-lou-4a3bb110a/","imageURL":"https://avatars.githubusercontent.com/u/13951661","key":"maggie","page":null}],"frontMatter":{"title":"Auto-cancel duplicate CI runs on the same branch","date":"2026-05-04T10:00:00.000Z","authors":"maggie","tags":["CI"]},"unlisted":false,"prevItem":{"title":"Usage alerts","permalink":"/changelog/usage-alerts"}
1,"nextItem":{"title":"End-to-end CDC support","permalink":"/changelog/bazel-remote-cache-cdc"}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.