From db05e76df75ca6f5489088fff596c7856a1c04b9 Mon Sep 17 00:00:00 2001 From: David Bimmler Date: Wed, 22 Jan 2025 13:15:46 +0100 Subject: [PATCH] renovate: convert double quotes to single quotes Signed-off-by: David Bimmler --- .github/renovate.json5 | 140 ++++++++++++++++++++--------------------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 173cc03b67..07cd5979e6 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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] ", + gitAuthor: 'renovate[bot] ', 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=(?.*?) depName=(?.*?)\\s+.+version: (?.*)", + '# renovate: datasource=(?.*?) depName=(?.*?)\\s+.+version: (?.*)', ], }, { - 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=(?.*?) depName=(?.*?)\\s+.+_VERSION = (?.*)\\s+.+_SHA = (?sha256:[a-f0-9]+)", + '# renovate: datasource=(?.*?) depName=(?.*?)\\s+.+_VERSION = (?.*)\\s+.+_SHA = (?sha256:[a-f0-9]+)', ], }, { - customType: "regex", + customType: 'regex', fileMatch: [ - "^go\\.mod$", + '^go\\.mod$', ], matchStrings: [ - "// renovate: datasource=(?.*?) depName=(?.*?)\\s+go (?.*)", + '// renovate: datasource=(?.*?) depName=(?.*?)\\s+go (?.*)', ], }, ],