diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index b56531b..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", "^pip", "^copier", "^find"]' + 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.110.2@sha256:06665449c11c61011319ef8f1cd6e00a265d2692e84586f964ba368d4f67591d + 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 69461eb..ba2fcaf 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -3,8 +3,7 @@ "extends": [ "config:recommended", "helpers:pinGitHubActionDigests", - ":enablePreCommit", - ":maintainLockFilesWeekly" + ":enablePreCommit" ], "automergeType": "pr", "automergeStrategy": "merge-commit", @@ -38,16 +37,18 @@ { "commitMessageTopic": "serious-scaffold", "matchDepTypes": [ - "copier-template" + "ss-template" ], "postUpgradeTasks": { "commands": [ "git stash", - "pip install copier==9.3.1", + "apt update", + "apt install python3-pip -y", + "pip install copier==9.4.1 --break-system-packages", "copier update --defaults --vcs-ref {{{newVersion}}}" ] }, - "semanticCommitScope": "copier-template" + "semanticCommitScope": "ss-template" }, { "description": "Group apt packages to avoid failure when multiple packages are outdated.", @@ -99,10 +100,11 @@ ] }, { + "description": "Update ss template from serious-scaffold", "customType": "regex", "datasourceTemplate": "git-tags", "depNameTemplate": "https://github.com/serious-scaffold/ss-cpp.git", - "depTypeTemplate": "copier-template", + "depTypeTemplate": "ss-template", "fileMatch": [ "^\\.copier-answers\\.yml$" ],