From 732af2e8ced71588c81a830ee4b63beadd3b9e08 Mon Sep 17 00:00:00 2001 From: "l.feng" <43399351+msclock@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:19:21 +0800 Subject: [PATCH] fix: copier update ss-template Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com> --- .github/workflows/renovate.yml | 4 ++-- .renovaterc.json | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 7fa1f1b..85578b6 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -11,7 +11,7 @@ jobs: container: env: LOG_LEVEL: debug - RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pipx", "^copier", "^find", "^apt"]' + RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find", "^apt"]' RENOVATE_BRANCH_PREFIX: renovate-github/ RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }} RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex", "pre-commit"]' @@ -19,7 +19,7 @@ jobs: RENOVATE_PLATFORM: github RENOVATE_REPOSITORIES: '["${{ github.repository }}"]' RENOVATE_REPOSITORY_CACHE: enabled - image: ghcr.io/renovatebot/renovate:38.142.7@sha256:8327ee1726142dcc504d349d84c0e7f41656867e598ea7669bb7cf23786610a2 + image: ghcr.io/renovatebot/renovate:39.42.4@sha256:c5d718e312cdacc0746e37f13c215ff498be28c51e50efd24c070ae29f5b636a options: --user root runs-on: ubuntu-22.04 steps: diff --git a/.renovaterc.json b/.renovaterc.json index db0d365..284244f 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -41,10 +41,11 @@ ], "postUpgradeTasks": { "commands": [ - "apt update", - "apt install pipx -y", "git stash", - "pipx run copier==9.4.1 copier update --defaults --vcs-ref {{{newVersion}}}" + "apt update", + "apt install python3-pip -y", + "pip install copier==9.4.1 --break-system-packages", + "copier update --defaults --vcs-ref {{{newVersion}}}" ] }, "semanticCommitScope": "ss-template"