Skip to content

Commit

Permalink
ci(renovate): add package rules for bedrock-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 16, 2023
1 parent 8b369eb commit 79aed75
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,33 @@
semanticCommits: "enabled",
suppressNotifications: ["prIgnoreNotification"],
rebaseWhen: "conflicted",
regexManagers: [
// {
// description: "Update minecraft-bedrock version",
// fileMatch: ["minecraft-bedrock/app/helm-release\\.yaml$"],
// matchStrings: [
// '(?m:^\\s+# ?renovate: depName=(?<depName>\\S+)\\n[\\t|\\s]*? \\S+: "?(?<currentValue>[^" ]+)"?$)',
// ],
// datasourceTemplate: "github-releases",
// versioningTemplate: "loose",
// extractVersionTemplate: "^(?<version>.*)",
// },
regexManagers: [],
packageRules: [
{
matchPackageNames: ["tyriis/bedrock-tags"],
matchUpdateTypes: ["major", "minor", "patch"],
semanticCommitScope: "minecraft",
commitMessageTopic: "bedrock",
},
{
matchPackageNames: ["tyriis/bedrock-tags"],
matchDatasources: ["github-releases"],
matchUpdateTypes: ["major"],
semanticCommitType: "feat",
},
{
matchPackageNames: ["tyriis/bedrock-tags"],
matchDatasources: ["github-releases"],
matchUpdateTypes: ["minor"],
semanticCommitType: "feat",
},
{
matchPackageNames: ["tyriis/bedrock-tags"],
matchDatasources: ["github-releases"],
matchUpdateTypes: ["patch"],
semanticCommitType: "fix",
},
],
packageRules: [],
ignorePaths: [
"^archive/**",
"^kubernets/talos-flux/apps/home-automation/esphome/app/config/**",
Expand Down

0 comments on commit 79aed75

Please sign in to comment.