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: pdm update bug in renovate #827

Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ jobs:
container:
env:
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find"]'
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pdm", "^pip", "^copier", "^find"]'
RENOVATE_BRANCH_PREFIX: renovate-github/
RENOVATE_ENABLED: ${{ vars.RENOVATE_ENABLED || true }}
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "gitlabci", "regex", "pre-commit"]'
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
RENOVATE_REPOSITORY_CACHE: enabled
image: ghcr.io/renovatebot/renovate:39.42.4@sha256:c5d718e312cdacc0746e37f13c215ff498be28c51e50efd24c070ae29f5b636a
options: '--user root'
options: "--user root"
runs-on: ubuntu-24.04
steps:
- run: env | sort
Expand Down Expand Up @@ -49,5 +49,5 @@ jobs:
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '*/15 0-3 * * 1'
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null
4 changes: 2 additions & 2 deletions .gitlab/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ renovate:
variables:
GIT_STRATEGY: none
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find"]'
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pdm", "^pip", "^copier", "^find"]'
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
RENOVATE_BRANCH_PREFIX: renovate-gitlab/
RENOVATE_ENABLED_MANAGERS: '["pep621", "gitlabci", "regex", "pre-commit"]'
RENOVATE_ENDPOINT: $CI_API_V4_URL
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
RENOVATE_PLATFORM: gitlab
RENOVATE_REPOSITORIES: '["$CI_PROJECT_PATH"]'
RENOVATE_REPOSITORY_CACHE: enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ jobs:
container:
env:
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find"]'
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pdm", "^pip", "^copier", "^find"]'
RENOVATE_BRANCH_PREFIX: renovate-github/
RENOVATE_ENABLED: {{ '${{ vars.RENOVATE_ENABLED || true }}' }}
[% if project_name == "Serious Scaffold Python" %]
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "gitlabci", "regex", "pre-commit"]'
[% else %]
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "regex", "pre-commit"]'
[% endif %]
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORIES: '["{{ '${{ github.repository }}' }}"]'
RENOVATE_REPOSITORY_CACHE: enabled
image: ghcr.io/renovatebot/renovate:39.42.4@sha256:c5d718e312cdacc0746e37f13c215ff498be28c51e50efd24c070ae29f5b636a
options: '--user root'
options: "--user root"
runs-on: ubuntu-24.04
steps:
- run: env | sort
Expand Down Expand Up @@ -53,5 +53,5 @@ jobs:
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '*/15 0-3 * * 1'
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ renovate:
variables:
GIT_STRATEGY: none
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier", "^find"]'
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pdm", "^pip", "^copier", "^find"]'
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
RENOVATE_BRANCH_PREFIX: renovate-gitlab/
RENOVATE_ENABLED_MANAGERS: '["pep621", "gitlabci", "regex", "pre-commit"]'
RENOVATE_ENDPOINT: $CI_API_V4_URL
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"
RENOVATE_PLATFORM: gitlab
RENOVATE_REPOSITORIES: '["$CI_PROJECT_PATH"]'
RENOVATE_REPOSITORY_CACHE: enabled
Expand Down