From 713b5aacd1ae97d15a0b6f709c485ccf6028498e Mon Sep 17 00:00:00 2001 From: Kaizen Conroy Date: Tue, 15 Aug 2023 15:29:37 -0400 Subject: [PATCH 1/2] chore: fix custom-upgrade-awscli-v2-main --- .github/scripts/requirements.txt | 1 + .github/workflows/custom-upgrade-awscli-v2-main.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .github/scripts/requirements.txt diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt new file mode 100644 index 00000000..9e2b0aaa --- /dev/null +++ b/.github/scripts/requirements.txt @@ -0,0 +1 @@ +semver~=3.5.6 \ No newline at end of file diff --git a/.github/workflows/custom-upgrade-awscli-v2-main.yml b/.github/workflows/custom-upgrade-awscli-v2-main.yml index c1ce2f4c..b1e83233 100644 --- a/.github/workflows/custom-upgrade-awscli-v2-main.yml +++ b/.github/workflows/custom-upgrade-awscli-v2-main.yml @@ -24,9 +24,13 @@ jobs: run: | sudo apt update sudo apt install -y jq - pip install semver - name: Check for awscli version upgrades - run: python3 .github/scripts/upgrade-awscli-version.py + run: | + cd .github/scripts + python3 -m venv .venv + source .venv/bin/activate + pip install -r requirements.txt + python3 upgrade-awscli-version.py - id: create_patch name: Find mutations run: |- From bfe5cf8858f99953e419dafe7fae91690e253ae0 Mon Sep 17 00:00:00 2001 From: Kaizen Conroy Date: Tue, 15 Aug 2023 15:30:37 -0400 Subject: [PATCH 2/2] update semver version --- .github/scripts/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt index 9e2b0aaa..ac0e541e 100644 --- a/.github/scripts/requirements.txt +++ b/.github/scripts/requirements.txt @@ -1 +1 @@ -semver~=3.5.6 \ No newline at end of file +semver~=3.0.1 \ No newline at end of file