mirror of
https://github.com/WeblateOrg/weblate.git
synced 2026-07-27 22:46:38 +08:00
Homebrew/homebrew-core no longer exposes the master ref, so Renovate could not resolve a new snapshot digest.
146 lines
5.3 KiB
JSON
Vendored
146 lines
5.3 KiB
JSON
Vendored
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"github>WeblateOrg/meta:renovate"
|
|
],
|
|
"baseBranchPatterns": [
|
|
"main",
|
|
"stable"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Disable lock file maintenance on stable",
|
|
"matchBaseBranches": [
|
|
"stable"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"lockFileMaintenance"
|
|
],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Only security updates on stable",
|
|
"matchBaseBranches": [
|
|
"stable"
|
|
],
|
|
"matchPackageNames": [
|
|
"*"
|
|
],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Group OpenTelemetry dependency updates",
|
|
"matchPackageNames": [
|
|
"opentelemetry-*"
|
|
],
|
|
"groupName": "OpenTelemetry dependencies",
|
|
"groupSlug": "opentelemetry"
|
|
},
|
|
{
|
|
"description": "Update pinned macOS Homebrew snapshot monthly",
|
|
"matchPackageNames": [
|
|
"https://github.com/Homebrew/brew",
|
|
"https://github.com/Homebrew/homebrew-core"
|
|
],
|
|
"groupName": "macOS Homebrew snapshot",
|
|
"groupSlug": "macos-homebrew",
|
|
"schedule": [
|
|
"* * 1 * *"
|
|
],
|
|
"automerge": false
|
|
},
|
|
{
|
|
"description": "Allow OpenTelemetry instrumentation beta releases",
|
|
"matchPackageNames": [
|
|
"opentelemetry-instrumentation-celery",
|
|
"opentelemetry-instrumentation-django",
|
|
"opentelemetry-instrumentation-psycopg",
|
|
"opentelemetry-instrumentation-redis",
|
|
"opentelemetry-instrumentation-requests"
|
|
],
|
|
"ignoreUnstable": false,
|
|
"respectLatest": false
|
|
},
|
|
{
|
|
"description": "Extract Unicode release versions from the public directory listing",
|
|
"matchDatasources": [
|
|
"custom.unicode-public"
|
|
],
|
|
"extractVersion": "^(?<version>\\d+\\.\\d+\\.\\d+)/?$"
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update pinned Unicode data version for CJK regexp generation",
|
|
"managerFilePatterns": [
|
|
"/^scripts\\/generate-cjk-regexp\\.py$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate-unicode-version\\r?\\nUNICODE_VERSION = \"(?<currentValue>[^\"]+)\""
|
|
],
|
|
"depNameTemplate": "Unicode UCD",
|
|
"packageNameTemplate": "unicode",
|
|
"datasourceTemplate": "custom.unicode-public",
|
|
"versioningTemplate": "semver"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update CycloneDX CLI binary version and GitHub release asset digest",
|
|
"managerFilePatterns": [
|
|
"/^\\.github\\/workflows\\/setup\\.yml$/"
|
|
],
|
|
"matchStrings": [
|
|
"(?<indentation>[ \\t]*)# renovate-cyclonedx-cli\\r?\\n[ \\t]*CYCLONEDX_CLI_VERSION: (?<currentValue>\\S+)\\r?\\n[ \\t]*CYCLONEDX_CLI_DIGEST: (?<currentDigest>sha256:[a-f0-9]{64})"
|
|
],
|
|
"depNameTemplate": "CycloneDX/cyclonedx-cli",
|
|
"packageNameTemplate": "CycloneDX/cyclonedx-cli",
|
|
"datasourceTemplate": "custom.github-release-asset-digest",
|
|
"versioningTemplate": "loose",
|
|
"autoReplaceStringTemplate": "{{{indentation}}}# renovate-cyclonedx-cli\n{{{indentation}}}CYCLONEDX_CLI_VERSION: {{{newValue}}}\n{{{indentation}}}CYCLONEDX_CLI_DIGEST: {{{newDigest}}}"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update pinned Homebrew Git revision for macOS CI",
|
|
"managerFilePatterns": [
|
|
"/^\\.github\\/workflows\\/macos\\.yml$/"
|
|
],
|
|
"matchStrings": [
|
|
"(?<indentation>[ \\t]*)# renovate-homebrew-brew\\r?\\n[ \\t]*HOMEBREW_BREW_REF: (?<currentDigest>[a-f0-9]{40})"
|
|
],
|
|
"currentValueTemplate": "main",
|
|
"depNameTemplate": "Homebrew/brew",
|
|
"packageNameTemplate": "https://github.com/Homebrew/brew",
|
|
"datasourceTemplate": "git-refs",
|
|
"autoReplaceStringTemplate": "{{{indentation}}}# renovate-homebrew-brew\n{{{indentation}}}HOMEBREW_BREW_REF: {{{newDigest}}}"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update pinned Homebrew core Git revision for macOS CI",
|
|
"managerFilePatterns": [
|
|
"/^\\.github\\/workflows\\/macos\\.yml$/"
|
|
],
|
|
"matchStrings": [
|
|
"(?<indentation>[ \\t]*)# renovate-homebrew-core\\r?\\n[ \\t]*HOMEBREW_CORE_REF: (?<currentDigest>[a-f0-9]{40})"
|
|
],
|
|
"currentValueTemplate": "main",
|
|
"depNameTemplate": "Homebrew/homebrew-core",
|
|
"packageNameTemplate": "https://github.com/Homebrew/homebrew-core",
|
|
"datasourceTemplate": "git-refs",
|
|
"autoReplaceStringTemplate": "{{{indentation}}}# renovate-homebrew-core\n{{{indentation}}}HOMEBREW_CORE_REF: {{{newDigest}}}"
|
|
}
|
|
],
|
|
"customDatasources": {
|
|
"unicode-public": {
|
|
"defaultRegistryUrlTemplate": "https://www.unicode.org/Public/",
|
|
"format": "html"
|
|
},
|
|
"github-release-asset-digest": {
|
|
"defaultRegistryUrlTemplate": "https://api.github.com/repos/{{{packageName}}}/releases?per_page=100",
|
|
"format": "json",
|
|
"transformTemplates": [
|
|
"{\"releases\": $map($[draft = false and prerelease = false and assets[name = \"cyclonedx-linux-x64\" and digest != null]], function($release) { { \"version\": $release.tag_name, \"digest\": $release.assets[name = \"cyclonedx-linux-x64\" and digest != null][0].digest, \"releaseTimestamp\": $release.published_at, \"sourceUrl\": $release.html_url } }), \"sourceUrl\": \"https://github.com/CycloneDX/cyclonedx-cli\"}"
|
|
]
|
|
}
|
|
}
|
|
}
|