Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(no-release): failed renovate post upgrade task #60

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
container:
env:
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find", "^apt"]'
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pipx", "^copier", "^find", "^apt"]'
RENOVATE_BRANCH_PREFIX: renovate-github/
RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }}
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex", "pre-commit"]'
Expand Down
5 changes: 2 additions & 3 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@
"postUpgradeTasks": {
"commands": [
"apt update",
"apt install python3-pip -y",
"apt install pipx -y",
"git stash",
"pip install copier==9.4.1",
"copier update --defaults --vcs-ref {{{newVersion}}}"
"pipx run copier==9.4.1 copier update --defaults --vcs-ref {{{newVersion}}}"
]
},
"semanticCommitScope": "ss-template"
Expand Down
Loading