renovate.json 2.4 KB

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