Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Feb 28, 2024
1 parent 4474cb4 commit a1fbd93
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions template/.renovaterc.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"config:best-practices",
":maintainLockFilesWeekly"
]
[%- if repo_host_type == "gitlab.com" or reop_host_type == "gitlab-self-managed" or project_name == "Serious Scaffold Python" %],
"gitlabci": {
"fileMatch": [
"^.gitlab/workflows/.*\\.yml$"
]
}
[%- endif %]
[%- if project_name == "Serious Scaffold Python" %],
"ignorePaths": [
"**/template/**"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ jobs:
env:
LOG_LEVEL: debug
RENOVATE_BRANCH_PREFIX: renovate-github/
[%- if project_name == "Serious Scaffold Python" %]
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions", "gitlabci"]'
[%- else -%]
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions"]'
[%- endif %]
RENOVATE_GIT_AUTHOR: Renovate GitHub Bot <github@renovatebot.com>
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_PLATFORM: github
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ renovate:
LOG_LEVEL: debug
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
RENOVATE_BRANCH_PREFIX: renovate-gitlab/
RENOVATE_ENABLED_MANAGERS: '["pep621"]'
RENOVATE_ENABLED_MANAGERS: '["pep621", "gitlabci"]'
RENOVATE_ENDPOINT: $CI_API_V4_URL
RENOVATE_GIT_AUTHOR: Renovate GitLab Bot <gitlab@renovatebot.com>
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
Expand Down

0 comments on commit a1fbd93

Please sign in to comment.