Skip to content

Commit

Permalink
fix: pdm update bug in renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Dec 2, 2024
1 parent c1ca301 commit 09aaad7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
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

0 comments on commit 09aaad7

Please sign in to comment.