Skip to content

Commit fe7d2cd

Browse files
Fix another Renovate blind spot; bump configure_conan's stale conan-version default (#137)
configure_conan/action.yml also defines conan-version with a nested default (conan-version: / description: "..." / default: 2.3.1) -- a third shape the previous 2-line-specific regex (type: string / default:) didn't cover, so this default silently stayed at 2.3.1 while every other conan-version default got bumped. Generalized the customManager regex to match 'default:' appearing anywhere within 80 chars after the key, instead of requiring an exact 'type: string' line -- covers the workflow_call.inputs shape and the composite-action-input shape (and any future variation) with one pattern. Bumped the default itself to 2.31.2 to match. Any downstream repo that calls .github/actions/configure_conan directly with an explicit conan-version override (rather than going through the top-level publish-*/abi-diff workflows) was relying on this 2.3.1 default whenever the composite action's own default applied -- worth checking those repos separately.
1 parent e51bda2 commit fe7d2cd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/configure_conan/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "installs conan via pip and creates a default user for it"
33
inputs:
44
conan-version:
55
description: "conan version to install"
6-
default: 2.3.1
6+
default: 2.31.2
77
required: true
88
runs:
99
using: "composite"

renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"matchStrings": [
2727
"conan-version:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?",
28-
"conan-version:\\s*\\n\\s*type:\\s*string\\s*\\n\\s*default:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?"
28+
"conan-version:\\s*\\n[\\s\\S]{0,80}?default:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?"
2929
],
3030
"datasourceTemplate": "pypi",
3131
"depNameTemplate": "conan"
@@ -37,7 +37,7 @@
3737
],
3838
"matchStrings": [
3939
"cmake-version:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?",
40-
"cmake-version:\\s*\\n\\s*type:\\s*string\\s*\\n\\s*default:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?"
40+
"cmake-version:\\s*\\n[\\s\\S]{0,80}?default:\\s*[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?"
4141
],
4242
"datasourceTemplate": "github-releases",
4343
"depNameTemplate": "Kitware/CMake",

0 commit comments

Comments
 (0)