mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
docs: add documentation for forkToken (#9701)
This commit is contained in:
parent
e366da2ad5
commit
90e96805e1
2 changed files with 17 additions and 0 deletions
|
@ -200,6 +200,14 @@ It will also override any settings in `packageRules`.
|
|||
## forkMode
|
||||
|
||||
You probably have no need for this option - it is an experimental setting for the Renovate hosted GitHub App.
|
||||
If this is set to `true` then Renovate will fork the repository into the personal space of the person owning the Personal Access Token.
|
||||
|
||||
## forkToken
|
||||
|
||||
You probably have no need for this option - it is an experimental setting for the Renovate hosted GitHub App.
|
||||
This should be set to a Personal Access Token (GitHub only) when `forkMode` is set to `true`.
|
||||
Renovate will use this token to fork the repository into the personal space of the person owning the Personal Access Token.
|
||||
Renovate will then create branches on the fork and opens Pull Requests on the parent repository.
|
||||
|
||||
## gitAuthor
|
||||
|
||||
|
|
|
@ -340,6 +340,15 @@ const options: RenovateOptions[] = [
|
|||
default: false,
|
||||
admin: true,
|
||||
},
|
||||
{
|
||||
name: 'forkToken',
|
||||
description:
|
||||
'Will be used on GitHub when `forkMode` is set to `true` to clone the repositories.',
|
||||
stage: 'repository',
|
||||
type: 'string',
|
||||
default: '',
|
||||
admin: true,
|
||||
},
|
||||
{
|
||||
name: 'requireConfig',
|
||||
description: 'Set to true if repositories must have a config to activate.',
|
||||
|
|
Loading…
Reference in a new issue