Skip to content

Commit

Permalink
ci: configure renovate for KIND_VERSION (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Jan 23, 2025
1 parent 58ba1b9 commit 2b30842
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ permissions:

env:
# Specify this here because these tests rely on ktf to run kind for cluster creation.
KIND_VERSION: v0.23.0
# renovate: datasource=github-releases depName=kubernetes-sigs/kind
KIND_VERSION: "0.23.0"

jobs:
ensure-actions-sha-pin:
Expand Down
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.+\"(?<currentValue>.*?)\""
]
},
{
"description": "Match dependencies in .github/workflows/* that are properly annotated with `# renovate: datasource={} depName={}.`",
"customType": "regex",
"fileMatch": [
"\\.github/workflows/.*\\.yaml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.+:\\s*\"?(?<currentValue>[0-9]+\\.[0-9.]+)\"?\\n"
]
}
],
"packageRules": [
Expand Down

0 comments on commit 2b30842

Please sign in to comment.