From 5ba8ce6fea517763ed0c1e5a66ef5ed92a7ad00f Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Tue, 15 Mar 2022 10:10:13 +0100 Subject: [PATCH] docs(self-hosted configuration): improve username config option section (#14661) --- docs/usage/self-hosted-configuration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/usage/self-hosted-configuration.md b/docs/usage/self-hosted-configuration.md index 6d9f045013..336dd6b4b3 100644 --- a/docs/usage/self-hosted-configuration.md +++ b/docs/usage/self-hosted-configuration.md @@ -631,7 +631,12 @@ This is currently applicable to `npm` and `lerna`/`npm` only, and only used in c ## username -Mandatory if a GitHub app token is in use using the CLI. +You might need to set a `username` if you use: + +- The Bitbucket platform, or +- use the GitHub App with CLI (required) + +If you're using a Personal Access Token (PAT) to authenticate then you should not specify `username`. ## writeDiscoveredRepos -- GitLab