Skip to content

Commit

Permalink
renovate: convert double quotes to single quotes
Browse files Browse the repository at this point in the history
Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
  • Loading branch information
bimmlerd committed Jan 22, 2025
1 parent 6ee1a0f commit db05e76
Showing 1 changed file with 70 additions and 70 deletions.
140 changes: 70 additions & 70 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,184 +1,184 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
"config:recommended",
":gitSignOff",
"helpers:pinGitHubActionDigests",
'config:recommended',
':gitSignOff',
'helpers:pinGitHubActionDigests',
],

// This ensures that the gitAuthor and gitSignOff fields match
gitAuthor: "renovate[bot] <bot@renovateapp.com>",
gitAuthor: 'renovate[bot] <bot@renovateapp.com>',
includePaths: [
".github/workflows/**",
"action.yaml",
"defaults/defaults.go",
"go.mod",
"go.sum",
"Dockerfile",
"Makefile",
'.github/workflows/**',
'action.yaml',
'defaults/defaults.go',
'go.mod',
'go.sum',
'Dockerfile',
'Makefile',
],
postUpdateOptions: [
"gomodTidy",
'gomodTidy',
],
pinDigests: true,
ignorePresets: [
":prHourlyLimit2",
':prHourlyLimit2',
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
pruneStaleBranches: true,
baseBranches: [
"main",
'main',
],
vulnerabilityAlerts: {
enabled: true,
},
labels: [
"renovate/stop-updating",
"kind/enhancement",
"priority/release-blocker",
'renovate/stop-updating',
'kind/enhancement',
'priority/release-blocker',
],
stopUpdatingLabel: "renovate/stop-updating",
stopUpdatingLabel: 'renovate/stop-updating',
packageRules: [
{
groupName: "all github action dependencies",
groupSlug: "all-github-action",
groupName: 'all github action dependencies',
groupSlug: 'all-github-action',
matchFileNames: [
".github/workflows/**",
"action.yaml",
'.github/workflows/**',
'action.yaml',
],
matchUpdateTypes: [
"major",
"minor",
"digest",
"patch",
"pin",
"pinDigest",
'major',
'minor',
'digest',
'patch',
'pin',
'pinDigest',
],
},
{
groupName: "all go dependencies main",
groupSlug: "all-go-deps-main",
groupName: 'all go dependencies main',
groupSlug: 'all-go-deps-main',
matchFiles: [
"go.mod",
"go.sum",
'go.mod',
'go.sum',
],
postUpdateOptions: [
// update source import paths on major updates
"gomodUpdateImportPaths",
'gomodUpdateImportPaths',
],
matchUpdateTypes: [
"major",
"minor",
"digest",
"patch",
"pin",
"pinDigest",
'major',
'minor',
'digest',
'patch',
'pin',
'pinDigest',
],
matchBaseBranches: [
"main",
'main',
],
schedule: [
"on friday",
'on friday',
],
},
{
// Avoid updating patch releases of golang in go.mod
enabled: "false",
enabled: 'false',
matchFileNames: [
"go.mod",
'go.mod',
],
matchDepNames: [
"go",
'go',
],
matchDatasources: [
"golang-version",
'golang-version',
],
matchUpdateTypes: [
"patch",
'patch',
],
matchBaseBranches: [
"main",
'main',
],
},
{
// Allow github.com/cilium/cilium to upgrade to prerelease versions.
ignoreUnstable: false,
matchPackageNames: [
"github.com/cilium/cilium",
'github.com/cilium/cilium',
],
},
{
// Images that directly use docker.io/library/golang for building.
groupName: "golang-images",
groupName: 'golang-images',
matchFileNames: [
"Dockerfile",
"Makefile",
'Dockerfile',
'Makefile',
],
},
{
groupName: "Go",
groupName: 'Go',
matchDepNames: [
"go",
"docker.io/library/golang",
'go',
'docker.io/library/golang',
],
schedule: [
"on friday",
'on friday',
],
},
{
// Group golangci-lint updates to overrule grouping of version updates in the GHA files.
// Without this, golangci-lint updates are not in sync for GHA files and other usages.
groupName: "golangci-lint",
groupName: 'golangci-lint',
matchDepNames: [
"golangci/golangci-lint",
'golangci/golangci-lint',
],
},
{
// Group cilium updates to overrule grouping of version updates in the GHA files.
// Without this, cilium updates are not in sync for GHA files and other usages.
groupName: "cilium",
groupName: 'cilium',
matchDepNames: [
"cilium/cilium",
'cilium/cilium',
],
},
],
customManagers: [
{
customType: "regex",
customType: 'regex',
fileMatch: [
"^\\.github/workflows/[^/]+\\.yaml$",
"^action.yaml$",
'^\\.github/workflows/[^/]+\\.yaml$',
'^action.yaml$',
],

// This regex manages version strings in GitHub actions workflow files,
// similar to the examples shown here:
// https://docs.renovatebot.com/modules/manager/regex/#advanced-capture
matchStrings: [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+version: (?<currentValue>.*)",
'# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+version: (?<currentValue>.*)',
],
},
{
customType: "regex",
customType: 'regex',
fileMatch: [
"^Makefile$",
'^Makefile$',
],

// This regex manages version strings in the Makefile,
// similar to the examples shown here:
// https://docs.renovatebot.com/modules/manager/regex/#advanced-capture
matchStrings: [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+_VERSION = (?<currentValue>.*)\\s+.+_SHA = (?<currentDigest>sha256:[a-f0-9]+)",
'# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+_VERSION = (?<currentValue>.*)\\s+.+_SHA = (?<currentDigest>sha256:[a-f0-9]+)',
],
},
{
customType: "regex",
customType: 'regex',
fileMatch: [
"^go\\.mod$",
'^go\\.mod$',
],
matchStrings: [
"// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+go (?<currentValue>.*)",
'// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+go (?<currentValue>.*)',
],
},
],
Expand Down

0 comments on commit db05e76

Please # to comment.