docs: add note about using a single configuration file (#11)

Closes #6
This commit is contained in:
Jeroen de Bruijn 2020-04-11 14:14:40 +02:00 committed by GitHub
parent 5d1c59fcda
commit 8507a5ade2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,13 @@ Configuration file to configure Renovate. The configurations that can be done in
The [`branchPrefix`](https://docs.renovatebot.com/configuration-options/#branchprefix) option is important to configure and should be configured to a value other than the default to prevent interference with e.g. the Renovate GitHub App. The [`branchPrefix`](https://docs.renovatebot.com/configuration-options/#branchprefix) option is important to configure and should be configured to a value other than the default to prevent interference with e.g. the Renovate GitHub App.
If you want to use this with just the single configuration file, make sure to include the following two configuration lines. This disables the requirement of a configuration file for the repository and disables onboarding.
```js
onboarding: false,
requireConfig: false,
```
<a name="option-token"></a> <a name="option-token"></a>
## `token` ## `token`
@ -75,4 +82,3 @@ jobs:
configurationFile: example/config.js configurationFile: example/config.js
token: ${{ secrets.RENOVATE_TOKEN }} token: ${{ secrets.RENOVATE_TOKEN }}
``` ```