renovate.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. "openssl3-version: (?<currentValue>.*)\\s"
  79. ],
  80. "datasourceTemplate": "github-tags",
  81. "depNameTemplate": "openssl/openssl",
  82. "versioningTemplate": "semver",
  83. "extractVersionTemplate": "^openssl-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
  84. "registryUrlTemplate": "https://github.com"
  85. }
  86. ]
  87. }