|
232 | 232 | "datasourceTemplate": "github-releases", |
233 | 233 | "versioningTemplate": "semver", |
234 | 234 | "extractVersionTemplate": "^v(?<version>.*)$" |
| 235 | + }, |
| 236 | + { |
| 237 | + "customType": "regex", |
| 238 | + "description": "Track go-version in skill example workflows", |
| 239 | + "managerFilePatterns": ["/^\\.github/skills/examples/.*\\.yml$/"], |
| 240 | + "matchStrings": [ |
| 241 | + "go-version: [\"']?(?<currentValue>[\\d\\.]+)[\"']?" |
| 242 | + ], |
| 243 | + "depNameTemplate": "golang/go", |
| 244 | + "datasourceTemplate": "golang-version", |
| 245 | + "versioningTemplate": "semver" |
235 | 246 | } |
236 | 247 | ], |
237 | 248 |
|
| 249 | + "github-actions": { |
| 250 | + "fileMatch": ["^\\.github/skills/examples/.*\\.ya?ml$"] |
| 251 | + }, |
| 252 | + |
238 | 253 | "packageRules": [ |
239 | 254 | { |
240 | 255 | "description": "THE MEGAZORD: Group ALL non-major updates (NPM, Docker, Go, Actions) into one PR", |
|
277 | 292 | "matchPackageNames": ["caddy"], |
278 | 293 | "allowedVersions": "<3.0.0" |
279 | 294 | }, |
| 295 | + { |
| 296 | + "description": "Go: keep pgx within v4 (CrowdSec requires pgx/v4 module path)", |
| 297 | + "matchDatasources": ["go"], |
| 298 | + "matchPackageNames": ["github.com/jackc/pgx/v4"], |
| 299 | + "allowedVersions": "<5.0.0" |
| 300 | + }, |
| 301 | + { |
| 302 | + "description": "Go: keep go-jose/v3 within v3 (v4 is a different Go module path)", |
| 303 | + "matchDatasources": ["go"], |
| 304 | + "matchPackageNames": ["github.com/go-jose/go-jose/v3"], |
| 305 | + "allowedVersions": "<4.0.0" |
| 306 | + }, |
| 307 | + { |
| 308 | + "description": "Go: keep go-jose/v4 within v4 (v5 would be a different Go module path)", |
| 309 | + "matchDatasources": ["go"], |
| 310 | + "matchPackageNames": ["github.com/go-jose/go-jose/v4"], |
| 311 | + "allowedVersions": "<5.0.0" |
| 312 | + }, |
280 | 313 | { |
281 | 314 | "description": "Safety: Keep MAJOR updates separate and require manual review", |
282 | 315 | "matchUpdateTypes": ["major"], |
|
0 commit comments