GitHub Enterprise GHE.com Setting clarity (#240289)

And a pattern to make sure no one puts a DotCom URL.

ref https://github.com/microsoft/vscode-pull-request-github/issues/6602
This commit is contained in:
Tyler James Leonhardt
2025-02-10 11:35:06 -08:00
committed by GitHub
parent 331d7defed
commit d5f4a77e00
2 changed files with 6 additions and 3 deletions

View File

@@ -39,11 +39,12 @@
}
],
"configuration": [{
"title": "GitHub Enterprise Server Authentication Provider",
"title": "%config.github-enterprise.title%",
"properties": {
"github-enterprise.uri": {
"type": "string",
"description": "GitHub Enterprise Server URI"
"markdownDescription": "%config.github-enterprise.uri.description%",
"pattern": "^(?:$|(https?)://(?!github\\.com).*)"
}
}
}