From 1a8f7e263183caff5ae8884563d1e72f182504a2 Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Sat, 30 Nov 2024 12:59:00 +0000 Subject: [PATCH] remove python action update script --- renovate.json | 10 +--------- update_python_action.sh | 20 -------------------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100755 update_python_action.sh diff --git a/renovate.json b/renovate.json index 77c46f8..0a11a55 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,5 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "allowedPostUpgradeCommands": ["^./scripts/post-upgrade.sh"], "extends": ["config:recommended"], "packageRules": [ { @@ -8,12 +7,5 @@ "matchPackageNames": ["^(?!.*\bpython\b).*"], "matchUpdateTypes": ["minor", "patch"] } - ], - "postUpgradeTasks": { - "commands": [ - "./scripts/post-upgrade.sh {{{depName}}} {{{currentVersion}}} {{{newVersion}}}" - ], - "executionMode": "update", - "fileFilters": [] - } + ] } diff --git a/update_python_action.sh b/update_python_action.sh deleted file mode 100755 index 0b8442d..0000000 --- a/update_python_action.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -action_path=.github/workflows/docker-publish.yml - -# Example usage: -# ./update_python_action.sh python 3.12 3.13 -dependency_name=$1 -current_version=$2 -new_version=$3 - -# If package is not python, skip -if [ "$dependency_name" != "python" ]; then - exit 0 -fi - -# Find and replace python version -# with: -# python-version: "3.13" - -sed -i "s/python-version: \"$current_version\"/python-version: \"$new_version\"/g" $action_path \ No newline at end of file