mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-10 01:19:50 +00: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: |
|
postcopy: |
|
||||||
set -e
|
set -e
|
||||||
test -e dependencies/OMZ-README.md && cat dependencies/OMZ-README.md >> README.md
|
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:
|
plugins/wd:
|
||||||
repo: mfaerevaag/wd
|
repo: mfaerevaag/wd
|
||||||
branch: master
|
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
|
# Cache YAML version
|
||||||
DependencyStore.set(data)
|
DependencyStore.set(data)
|
||||||
|
|
||||||
dependencies = data["dependencies"]
|
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 = Dependency(path, dependencies[path])
|
||||||
dependency.update_or_notify()
|
dependency.update_or_notify()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user