summaryrefslogtreecommitdiff
path: root/.github/workflows/dependencies
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2023-12-28 21:20:28 +0100
committerCarlo Sala <carlosalag@protonmail.com>2023-12-28 21:21:39 +0100
commit46b24d409909cdc00ac441448c0aa31cc35d12c9 (patch)
tree383120fde1fa963a6a8556e2dba74325feabed09 /.github/workflows/dependencies
parentec74eb91bda8ee0cb42f4b9697d13154e31a93d6 (diff)
downloadzsh-46b24d409909cdc00ac441448c0aa31cc35d12c9.tar.gz
zsh-46b24d409909cdc00ac441448c0aa31cc35d12c9.tar.bz2
zsh-46b24d409909cdc00ac441448c0aa31cc35d12c9.zip
ci(dependencies): fix some envs and add requirements
Diffstat (limited to '.github/workflows/dependencies')
-rw-r--r--.github/workflows/dependencies/requirements.txt2
-rw-r--r--.github/workflows/dependencies/updater.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/dependencies/requirements.txt b/.github/workflows/dependencies/requirements.txt
new file mode 100644
index 000000000..3c4c149ea
--- /dev/null
+++ b/.github/workflows/dependencies/requirements.txt
@@ -0,0 +1,2 @@
+PyYAML~=6.0.1
+requests~=2.31.0
diff --git a/.github/workflows/dependencies/updater.py b/.github/workflows/dependencies/updater.py
index 5af19d14c..f54d316f9 100644
--- a/.github/workflows/dependencies/updater.py
+++ b/.github/workflows/dependencies/updater.py
@@ -302,8 +302,8 @@ class Git:
@staticmethod
def add_and_commit(scope: str, version: str):
- user_name = "ohmyzsh"
- user_email = "bot@ohmyz.sh"
+ user_name = os.environ.get("GIT_APP_NAME")
+ user_email = os.environ.get("GIT_APP_EMAIL")
# Add all files to git staging
CommandRunner.run_or_fail(["git", "add", "-A", "-v"], stage="AddFiles")