xref: /curl/renovate.json (revision 6b440704)
1{
2  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3  "extends": [
4    "config:best-practices",
5    ":disableDependencyDashboard"
6  ],
7  "semanticCommitType": "ci",
8  "packageRules": [
9    {
10      "matchManagers": [
11        "github-actions"
12      ],
13      "commitMessagePrefix": "gha: ",
14      "labels": [
15        "CI"
16      ]
17    },
18    {
19      "matchUpdateTypes": [
20        "pin",
21        "pinDigest",
22        "digest"
23      ],
24      "commitMessagePrefix": "ci: ",
25      "labels": [
26        "CI"
27      ]
28    },
29    {
30      "matchManagers": [
31        "custom.regex"
32      ],
33      "commitMessagePrefix": "ci: ",
34      "labels": [
35        "CI"
36      ]
37    },
38    {
39      "matchDepNames": [
40        "debian"
41      ],
42      "matchFileNames": [
43        ".github/workflows/linux-old.yml"
44      ],
45      "enabled": false
46    }
47  ],
48  "customManagers": [
49    {
50      "customType": "regex",
51      "fileMatch": [
52        ".circleci/config.yml"
53      ],
54      "matchStrings": [
55        "# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VER=(?<currentValue>.*)\\s"
56      ],
57      "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
58      "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
59    },
60    {
61      "customType": "regex",
62      "fileMatch": [
63        "^.github/workflows/.*\\.yml$"
64      ],
65      "matchStrings": [
66        "# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?-version:\\s*(?<currentValue>.*)\\s"
67      ],
68      "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
69      "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
70    },
71    {
72      "customType": "regex",
73      "fileMatch": [
74        "^.github/workflows/linux.yml$",
75        "^.github/workflows/http3-linux.yml$"
76      ],
77      "matchStrings": [
78        "openssl-version: (?<currentValue>.*)\\s"
79      ],
80      "datasourceTemplate": "github-tags",
81      "depNameTemplate": "openssl/openssl",
82      "versioningTemplate": "semver",
83      "extractVersionTemplate": "^openssl-(?<version>.*)$"
84    },
85    {
86      "customType": "regex",
87      "fileMatch": [
88        "^.github/workflows/linux.yml$",
89        "^.github/workflows/http3-linux.yml$"
90      ],
91      "matchStrings": [
92        "quictls-version: (?<currentValue>.*)\\s"
93      ],
94      "datasourceTemplate": "github-tags",
95      "depNameTemplate": "quictls/openssl",
96      "versioningTemplate": "semver",
97      "extractVersionTemplate": "^openssl-(?<version>.*)-quic1$"
98    }
99  ]
100}
101