From 9727cd35aa60f97694da39067e0b663b66050460 Mon Sep 17 00:00:00 2001 From: David May <49894298+wass3rw3rk@users.noreply.github.com> Date: Mon, 21 Aug 2023 16:05:40 -0500 Subject: [PATCH] enhance(renovate): manage golangci, ensure actions are pinned (#478) --- .github/renovate.json | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index ccd079f8..c24bc3ac 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,17 +1,17 @@ { "extends": [ - "config:base" + "config:base", + "docker:pinDigests", + "helpers:pinGitHubActionDigests" ], "labels": [ "dependencies" ], "semanticCommits": "enabled", - "golang": { - "postUpdateOptions": [ - "gomodTidy", - "gomodUpdateImportPaths" - ] - }, + "postUpdateOptions": [ + "gomodTidy", + "gomodUpdateImportPaths" + ], "packageRules": [ { "description": "Automerge non-major updates", @@ -19,10 +19,21 @@ "minor", "digest", "patch", - "pin" + "pin", + "pinDigest" ], - "groupName": "mergeable deps", + "groupName": "non-major deps", "automerge": true } + ], + "regexManagers": [ + { + "fileMatch": ["^Makefile$"], + "matchStrings": [ + "GOLANGCI_LINT_VERSION := \"(?.*?)\"\\n" + ], + "depNameTemplate": "github.com/golangci/golangci-lint", + "datasourceTemplate": "go" + } ] }