mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-01-07 11:04:46 +01:00
ci(deps): add kube-ps1 to dependencies (#13283)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
committed by
GitHub
parent
d23d3ea69f
commit
72625e2f2f
8
.github/dependencies.yml
vendored
8
.github/dependencies.yml
vendored
@@ -27,6 +27,14 @@ dependencies:
|
||||
postcopy: |
|
||||
set -e
|
||||
test -e dependencies/OMZ-README.md && cat dependencies/OMZ-README.md >> README.md
|
||||
plugins/kube-ps1:
|
||||
repo: jonmosco/kube-ps1
|
||||
branch: master
|
||||
version: e1da055e905a91242f0c5a89a425a64ee8adcd6b
|
||||
precopy: |
|
||||
set -e
|
||||
find . ! -name kube-ps1.sh ! -name LICENSE ! -name README.md -delete
|
||||
test -e kube-ps1.sh && mv kube-ps1.sh kube-ps1.plugin.zsh
|
||||
plugins/wd:
|
||||
repo: mfaerevaag/wd
|
||||
branch: master
|
||||
|
||||
10
.github/workflows/dependencies/updater.py
vendored
10
.github/workflows/dependencies/updater.py
vendored
@@ -595,9 +595,15 @@ def main():
|
||||
|
||||
# Cache YAML version
|
||||
DependencyStore.set(data)
|
||||
|
||||
|
||||
dependencies = data["dependencies"]
|
||||
for path in dependencies:
|
||||
if len(sys.argv) > 1:
|
||||
# argv is list of dependencies to run, default is all of them
|
||||
dependency_list = sys.argv[1:]
|
||||
else:
|
||||
dependency_list = dependencies.keys()
|
||||
|
||||
for path in dependency_list:
|
||||
dependency = Dependency(path, dependencies[path])
|
||||
dependency.update_or_notify()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user