Skip to content

Commit

Permalink
chore(ci): fix renovate @only-patch (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Nov 29, 2024
1 parent f6de031 commit 6510665
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ jobs:
strategy:
matrix:
kubernetes-version:
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.26.15"
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.27.13"
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.28.9"
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.29.4"
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.30.0"
# renovate: datasource=github-tags depName=kubernetes/kubernetes@only-patch
# renovate: datasource=github-tags depName=kubernetes/kubernetes
- "1.31.0"
chart-name:
- kong
Expand Down
7 changes: 4 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@
],
"packageRules": [
{
"description": "Ignore minor updates if depName has `@only-patch` suffix.",
"description": "Only update patch versions for selected dependencies.",
"matchUpdateTypes": [
"major",
"minor"
],
"enabled": false,
"matchDepNames": [
"/.*@only-patch/"
"kubernetes/kubernetes"
]
},
{
"description": "Group Kubernetes updates together.",
"matchUpdateTypes": [
"patch"
],
"groupName": "kubernetes",
"groupName": "kubernetes/kubernetes",
"matchDepNames": [
"kubernetes/kubernetes"
]
Expand Down

0 comments on commit 6510665

Please sign in to comment.