Skip to content

Commit 13d8806

Browse files
authored
fix(no-release): failed renovate post upgrade task (#60)
Signed-off-by: l.feng <[email protected]>
1 parent 98d3d41 commit 13d8806

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
container:
1212
env:
1313
LOG_LEVEL: debug
14-
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find", "^apt"]'
14+
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pipx", "^copier", "^find", "^apt"]'
1515
RENOVATE_BRANCH_PREFIX: renovate-github/
1616
RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }}
1717
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex", "pre-commit"]'

.renovaterc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@
4242
"postUpgradeTasks": {
4343
"commands": [
4444
"apt update",
45-
"apt install python3-pip -y",
45+
"apt install pipx -y",
4646
"git stash",
47-
"pip install copier==9.4.1",
48-
"copier update --defaults --vcs-ref {{{newVersion}}}"
47+
"pipx run copier==9.4.1 copier update --defaults --vcs-ref {{{newVersion}}}"
4948
]
5049
},
5150
"semanticCommitScope": "ss-template"

0 commit comments

Comments
 (0)