Skip to content
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
25 changes: 25 additions & 0 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@
],
"versioningTemplate": "deb"
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "pdm-project/pdm",
"fileMatch": [
"^\\.github/workflows/.+\\.yml$",
"^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$"
],
"matchStrings": [
"uses: pdm-project/setup-pdm[\\s\\S]+?\\sversion: (?<currentValue>.*)\\n"
],
"versioningTemplate": "semver"
},
{
"customType": "regex",
"datasourceTemplate": "git-tags",
Expand Down Expand Up @@ -107,6 +120,18 @@
},
"semanticCommitScope": "copier-template"
},
{
"description": "Group pdm in Dockerfile and GitHub Action",
"groupName": "pdm",
"matchDatasources": [
"github-tags",
"pypi"
],
"matchDepNames": [
"pdm",
"pdm-project/pdm"
]
},
{
"description": "Group renovate docker tag and pre-commit-hooks tag",
"groupName": "renovate tag",
Expand Down
27 changes: 27 additions & 0 deletions template/.renovaterc.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@
],
"versioningTemplate": "deb"
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "pdm-project/pdm",
"fileMatch": [
"^\\.github/workflows/.+\\.yml$"
[%- if project_name == "Serious Scaffold Python" %],
"^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$"
[%- endif %]
],
"matchStrings": [
"uses: pdm-project/setup-pdm[\\s\\S]+?\\sversion: (?<currentValue>.*)\\n"
],
"versioningTemplate": "semver"
},
{
"customType": "regex",
"datasourceTemplate": "git-tags",
Expand Down Expand Up @@ -116,6 +131,18 @@
},
"semanticCommitScope": "copier-template"
},
{
"description": "Group pdm in Dockerfile and GitHub Action",
"groupName": "pdm",
"matchDatasources": [
"github-tags",
"pypi"
],
"matchDepNames": [
"pdm",
"pdm-project/pdm"
]
},
{
"description": "Group renovate docker tag and pre-commit-hooks tag",
"groupName": "renovate tag",
Expand Down