diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 1fc97b390110..d7d8d9d35f53 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -25,6 +25,14 @@ matchManagers: ["cargo"], enabled: false, }, + { + // Create dedicated branches to update references to dependencies in the documentation. + matchPaths: ["docs/**/*.md"], + commitMessageTopic: "documentation references to {{{depName}}}", + semanticCommitType: "docs", + semanticCommitScope: null, + additionalBranchPrefix: "docs-", + }, { // Group upload/download artifact updates, the versions are dependent groupName: "Artifact GitHub Actions dependencies", @@ -64,6 +72,18 @@ enabled: false, }, ], + customManagers: [ + // Update major GitHub actions references in documentation. + { + customType: "regex", + fileMatch: ["^docs/.*\\.md$"], + matchStrings: [ + "\\suses: (?[\\w-]+/[\\w-]+)(?/.*)?@(?.+?)\\s", + ], + datasourceTemplate: "github-tags", + versioningTemplate: "regex:^v(?\\d+)$", + }, + ], vulnerabilityAlerts: { commitMessageSuffix: "", labels: ["internal", "security"],