From cab66158e026200c969ffb4831dc648f6ca64e15 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Mon, 25 Jun 2018 15:52:24 +0200 Subject: [PATCH] feat: make gitAuthor admin-only Changes gitAuthor to be an admin-only setting, i.e. configurable by bot admin and not by repo admin. BREAKING CHANGE: gitAuthor can no longer be configured in repository config and can be set by bot admin only. --- lib/config/definitions.js | 1 + website/docs/configuration-options.md | 4 ---- website/docs/self-hosted-configuration.md | 4 ++++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/config/definitions.js b/lib/config/definitions.js index f4f87fdc24..6e453b953f 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -271,6 +271,7 @@ const options = [ name: 'gitAuthor', description: 'Author to use for git commits. RFC5322', type: 'string', + admin: true, }, { name: 'gitPrivateKey', diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md index 80584fb007..dd86ac41d5 100644 --- a/website/docs/configuration-options.md +++ b/website/docs/configuration-options.md @@ -197,10 +197,6 @@ See https://renovatebot.com/docs/configuration-reference/config-presets for deta ## fileMatch -## gitAuthor - -RFC5322-compliant string if you wish to customise the git author for commits. - ## group The default configuration for groups are essentially internal to Renovate and you normally shouldn't need to modify them. However, you may choose to _add_ settings to any group by defining your own `group` configuration object. diff --git a/website/docs/self-hosted-configuration.md b/website/docs/self-hosted-configuration.md index 0080ca8153..263bb33251 100644 --- a/website/docs/self-hosted-configuration.md +++ b/website/docs/self-hosted-configuration.md @@ -29,6 +29,10 @@ This is set to true by default, meaning that any settings (such as `schedule`) t You probably have no need for this option - it is an experimental setting for the Renovate hosted GitHub App. +## gitAuthor + +RFC5322-compliant string if you wish to customise the git author for commits. + ## gitPrivateKey ## logFile -- GitLab