diff options
author | Mick Hohmann <gh@m69.im.net> | 2024-03-20 22:47:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 22:47:32 +0100 |
commit | b8a812b93207da992ff8ae9f8b955bfa1252072b (patch) | |
tree | b68f0a8251be571c173eb2f6fd8f8ea9d672927b /.github | |
parent | aef1a3f275e7ec9095c4718ecf6a268abfe7794a (diff) |
feat(username): add detect_env_vars as option (#5833)
* Added the option "detect_env_vars" to the `username` module
with the same functionality as in the `hostname` module.
* Fixed logic error and added test to catch it
* build(deps): update dependency vitepress to ^1.0.0-rc.45
* build(deps): update rust crate shadow-rs to 0.27.1
* Added the option "detect_env_vars" to the `username` module
with the same functionality as in the `hostname` module.
* Fixed logic error and added test to catch it
* Removed unused gix import
* Removed unused gix import, again
* Removed unused gix import. Next try
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/config-schema.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/config-schema.json b/.github/config-schema.json index e2bade18a..f293dd260 100644 --- a/.github/config-schema.json +++ b/.github/config-schema.json @@ -1717,6 +1717,7 @@ }, "username": { "default": { + "detect_env_vars": [], "disabled": false, "format": "[$user]($style) in ", "show_always": false, @@ -5878,6 +5879,13 @@ "UsernameConfig": { "type": "object", "properties": { + "detect_env_vars": { + "default": [], + "type": "array", + "items": { + "type": "string" + } + }, "format": { "default": "[$user]($style) in ", "type": "string" |