.backportrc.json
Backport configuration file
| Type | object |
|---|---|
| File match |
.backportrc.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/backportrc-json/latest.json |
| Source | https://www.schemastore.org/backportrc.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
A Backport config schema
Properties
repoName
string
required
A repo name for the current project https://github.com/sqren/backport/blob/main/docs/config-file-options.md#reponame-required
minLength=1
repoOwner
string
required
A repo owner for the current project https://github.com/sqren/backport/blob/main/docs/config-file-options.md#repoowner-required
minLength=1
targetBranchChoices
string | object[]
required
Target branches for the current project https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
uniqueItems=true
upstream
string
Identifier for the GitHub project as {owner}/{repoName} (deprecated)
branches
string | object[]
Branches to backport to
labels
string[]
Labels that will be added to the pull request
all
boolean
Whether to only show the current user's commits or commits from anyone