Skip to content

About this page

On this page

Branches ​

ci.changelog.branches.main and ci.changelog.branches.dev pick which branches the generated workflows target. Each accepts a glob or an array of globs:

BranchDrivesDefault
mainThe CI workflow (push), the release workflow, and the release PR base.['main']
devThe changelog/version workflow (push).none — reuses main

dev has no default: when it is omitted the changelog workflow runs on main (so a single-branch repo needs no dev). Set it for a dev → main flow:

ts
ci: { changelog: { branches: { main: 'main', dev: 'dev' } } }
// or multiple branches per purpose:
ci: { changelog: { branches: { main: ['main', 'release/**'], dev: ['dev', 'next'] } } }

The sync workflow runs on both. Any per-workflow pushBranches override (eg. ci.release.pushBranches) still wins.