Skip to content

Commit

Permalink
chore(config): migrate config .github/renovate.json5 [staging]
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 9, 2024
1 parent 720487b commit a06e996
Showing 1 changed file with 72 additions and 48 deletions.
120 changes: 72 additions & 48 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,76 +1,100 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"helpers:pinGitHubActionDigests",
"github>msfjarvis/shared-workflows//renovate/automerge",
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
'helpers:pinGitHubActionDigests',
'github>msfjarvis/shared-workflows//renovate/automerge',
],
"packageRules": [
packageRules: [
{
"packageNames": ["gohugoio/hugo"],
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)",
matchPackageNames: [
'gohugoio/hugo',
],
extractVersion: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
},
{
"matchUpdateTypes": ["minor", "patch"],
"commitMessageExtra": "({{#if (lookup . \"changelog\")}}{{changelog}}{{/if}})",
matchUpdateTypes: [
'minor',
'patch',
],
commitMessageExtra: '({{#if (lookup . "changelog")}}{{changelog}}{{/if}})',
},
],
"regexManagers": [
customManagers: [
{
"description": "Update Hugo version in Actions workflows",
"fileMatch": [".yml$", ".toml$"],
"matchStrings": [
customType: 'regex',
description: 'Update Hugo version in Actions workflows',
fileMatch: [
'.yml$',
'.toml$',
],
matchStrings: [
"hugo-version: '(?<currentValue>.*?)'",
"HUGO_VERSION = \"(?<currentValue>.*?)\"",
'HUGO_VERSION = "(?<currentValue>.*?)"',
],
"depNameTemplate": "gohugoio/hugo",
"datasourceTemplate": "github-releases",
depNameTemplate: 'gohugoio/hugo',
datasourceTemplate: 'github-releases',
},
{
"description": "Update Decap CMS",
"fileMatch": ["static/admin/index.html"],
"matchStrings": [
"\/@sveltia/cms@(?<currentValue>.*?)\/dist",
customType: 'regex',
description: 'Update Decap CMS',
fileMatch: [
'static/admin/index.html',
],
matchStrings: [
'/@sveltia/cms@(?<currentValue>.*?)/dist',
],
"depNameTemplate": "@sveltia/cms",
"datasourceTemplate": "npm",
depNameTemplate: '@sveltia/cms',
datasourceTemplate: 'npm',
},
{
"description": "Update dprint TypeScript plugin",
"fileMatch": ["dprint.json"],
"matchStrings": [
"typescript-(?<currentValue>.*?).wasm",
customType: 'regex',
description: 'Update dprint TypeScript plugin',
fileMatch: [
'dprint.json',
],
"depNameTemplate": "dprint/dprint-plugin-typescript",
"datasourceTemplate": "github-releases",
matchStrings: [
'typescript-(?<currentValue>.*?).wasm',
],
depNameTemplate: 'dprint/dprint-plugin-typescript',
datasourceTemplate: 'github-releases',
},
{
"description": "Update dprint JSON plugin",
"fileMatch": ["dprint.json"],
"matchStrings": [
"json-(?<currentValue>.*?).wasm",
customType: 'regex',
description: 'Update dprint JSON plugin',
fileMatch: [
'dprint.json',
],
matchStrings: [
'json-(?<currentValue>.*?).wasm',
],
"depNameTemplate": "dprint/dprint-plugin-json",
"datasourceTemplate": "github-releases",
depNameTemplate: 'dprint/dprint-plugin-json',
datasourceTemplate: 'github-releases',
},
{
"description": "Update dprint Markdown plugin",
"fileMatch": ["dprint.json"],
"matchStrings": [
"markdown-(?<currentValue>.*?).wasm",
customType: 'regex',
description: 'Update dprint Markdown plugin',
fileMatch: [
'dprint.json',
],
"depNameTemplate": "dprint/dprint-plugin-markdown",
"datasourceTemplate": "github-releases",
matchStrings: [
'markdown-(?<currentValue>.*?).wasm',
],
depNameTemplate: 'dprint/dprint-plugin-markdown',
datasourceTemplate: 'github-releases',
},
{
"description": "Update dprint TOML plugin",
"fileMatch": ["dprint.json"],
"matchStrings": [
"toml-(?<currentValue>.*?).wasm",
customType: 'regex',
description: 'Update dprint TOML plugin',
fileMatch: [
'dprint.json',
],
matchStrings: [
'toml-(?<currentValue>.*?).wasm',
],
"depNameTemplate": "dprint/dprint-plugin-toml",
"datasourceTemplate": "github-releases",
depNameTemplate: 'dprint/dprint-plugin-toml',
datasourceTemplate: 'github-releases',
},
],
"commitMessageSuffix": "[staging]",
commitMessageSuffix: '[staging]',
}

0 comments on commit a06e996

Please sign in to comment.