Skip to content

Commit b6e437b

Browse files
committed
ci(renovate): split matrix into multiple lines
Avoids Renovate overmatching
1 parent 39d6418 commit b6e437b

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,20 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
# Latest version
16-
- { xdebug: xdebug-3.0.1, php: '8.0', os: ubuntu-18.04 } # renovate:keep-up-to-date
17-
- { xdebug: xdebug-3.0.1, php: '8.0', os: windows-2019 } # renovate:keep-up-to-date
18-
- { xdebug: xdebug-3.0.1, php: '8.0', os: macos-10.15 } # renovate:keep-up-to-date
15+
# Latest versions
16+
- xdebug: xdebug-3.0.1 # renovate:keep-up-to-date
17+
php: '8.0' # renovate:keep-up-to-date
18+
os: ubuntu-18.04
19+
- xdebug: xdebug-3.0.1 # renovate:keep-up-to-date
20+
php: '8.0' # renovate:keep-up-to-date
21+
os: windows-2019
22+
- xdebug: xdebug-3.0.1 # renovate:keep-up-to-date
23+
php: '8.0' # renovate:keep-up-to-date
24+
os: macos-10.15
1925
# Old versions
20-
- { xdebug: xdebug-2.9.8, php: '7.4', os: ubuntu-18.04 }
26+
- xdebug: xdebug-2.9.8
27+
php: '7.4'
28+
os: ubuntu-18.04
2129
steps:
2230
- uses: actions/checkout@v2
2331
- name: Setup Node.js

renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@
1414
"regexManagers": [
1515
{
1616
"fileMatch": ["^.github/workflows/.+\\.ya?ml$"],
17-
"matchStrings": ["xdebug: xdebug-(?<currentValue>[^,]*).*# renovate:keep-up-to-date"],
17+
"matchStrings": ["xdebug: xdebug-(?<currentValue>\\S+).*# renovate:keep-up-to-date"],
1818
"depNameTemplate": "xdebug",
1919
"lookupNameTemplate": "xdebug/xdebug",
2020
"datasourceTemplate": "github-tags",
2121
"versioningTemplate": "loose"
2222
},
2323
{
2424
"fileMatch": ["^.github/workflows/.+\\.ya?ml$"],
25-
"matchStrings": ["php: '(?<currentValue>[^']*)'.*# renovate:keep-up-to-date"],
25+
"matchStrings": ["php: '(?<currentValue>[^']+)'.*# renovate:keep-up-to-date"],
2626
"depNameTemplate": "php",
2727
"lookupNameTemplate": "php/php-src",
2828
"datasourceTemplate": "github-tags",
2929
"versioningTemplate": "loose"
3030
},
3131
{
3232
"fileMatch": ["^.github/workflows/.+\\.ya?ml$"],
33-
"matchStrings": ["node-version: '(?<currentValue>[^']*)'.*# renovate:keep-up-to-date"],
33+
"matchStrings": ["node-version: '(?<currentValue>[^']+)'.*# renovate:keep-up-to-date"],
3434
"depNameTemplate": "node",
3535
"lookupNameTemplate": "nodejs/node",
3636
"datasourceTemplate": "github-tags",

0 commit comments

Comments
 (0)