From 25adb66481f2b6461fc09e8368e20c8b33e5d752 Mon Sep 17 00:00:00 2001 From: Takahiro Miyoshi Date: Thu, 31 Oct 2024 16:41:49 +0900 Subject: [PATCH 1/2] Configure customManagers in renovate.json --- .github/workflows/pages.yml | 2 ++ renovate.json | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9634581..6e73c61 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -25,10 +25,12 @@ jobs: curl -sSfL "https://github.com/pseudomuto/protoc-gen-doc/releases/download/v${PROTOC_GEN_DOC_VERSION}/protoc-gen-doc_${PROTOC_GEN_DOC_VERSION}_linux_amd64.tar.gz" | tar -xzC "${GITHUB_WORKSPACE}/bin" echo "${GITHUB_WORKSPACE}/bin" >> "$GITHUB_PATH" env: + # renovate: datasource=github-releases depName=pseudomuto/protoc-gen-doc PROTOC_GEN_DOC_VERSION: "1.5.1" - uses: peaceiris/actions-mdbook@v2.0.0 with: + # renovate: datasource=crate depName=mdbook mdbook-version: "0.4.40" - name: Generate proto.md from proto files diff --git a/renovate.json b/renovate.json index dfa5f5b..ece9fc7 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,14 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "local>arkedge/renovate-config" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [".github/workflows/*"], + "matchStrings": [ + "# renovate: datasource=(?.*?) depName=(?.*?)\\s+\\S+?:\\s*\"(?\\S+?)\"" + ] + } ] } From 7d632044ffe9544ff57cbc5bc0146b3150799504 Mon Sep 17 00:00:00 2001 From: Takahiro Miyoshi Date: Thu, 31 Oct 2024 16:52:55 +0900 Subject: [PATCH 2/2] Configure automerge for github-actions dependencies --- renovate.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/renovate.json b/renovate.json index ece9fc7..9c73364 100644 --- a/renovate.json +++ b/renovate.json @@ -11,5 +11,12 @@ "# renovate: datasource=(?.*?) depName=(?.*?)\\s+\\S+?:\\s*\"(?\\S+?)\"" ] } + ], + "packageRules": [ + { + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + } ] }