From 5ef8c66aa09d59cf1e87ec0f9c91bee5414adca9 Mon Sep 17 00:00:00 2001 From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Date: Sat, 29 Jun 2024 06:57:25 +0900 Subject: [PATCH 1/5] chore: enable Renovate for several dependency --- renovate.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..e4e42dd --- /dev/null +++ b/renovate.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "matchStrings": ["#\\s?renovate: rust-lang/mdBook\\s*MDBOOK_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], + "depNameTemplate": "mdbook", + "packageNameTemplate": "rust-lang/mdBook", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "matchStrings": ["#\\s?renovate: slowsage/mdbook-pagetoc\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], + "depNameTemplate": "mdbook-pagetoc", + "packageNameTemplate": "slowsage/mdbook-pagetoc", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], + "depNameTemplate": "mdbook-alerts", + "packageNameTemplate": "slowsage/mdbook-pagetoc", + "datasourceTemplate": "github-releases" + } + ] +} From 49d7778e5ae7b5d8b5c1230a6242593854edd03a Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Sat, 29 Jun 2024 07:00:03 +0900 Subject: [PATCH 2/5] chore: fix poor mistake --- renovate.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index e4e42dd..10a71ec 100644 --- a/renovate.json +++ b/renovate.json @@ -6,7 +6,7 @@ "customManagers": [ { "customType": "regex", - "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"], "matchStrings": ["#\\s?renovate: rust-lang/mdBook\\s*MDBOOK_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], "depNameTemplate": "mdbook", "packageNameTemplate": "rust-lang/mdBook", @@ -14,7 +14,7 @@ }, { "customType": "regex", - "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"], "matchStrings": ["#\\s?renovate: slowsage/mdbook-pagetoc\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], "depNameTemplate": "mdbook-pagetoc", "packageNameTemplate": "slowsage/mdbook-pagetoc", @@ -22,7 +22,7 @@ }, { "customType": "regex", - "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yml$"], + "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"], "matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], "depNameTemplate": "mdbook-alerts", "packageNameTemplate": "slowsage/mdbook-pagetoc", From ace693125872075ebe73d71bf623defc17524e0b Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Sat, 29 Jun 2024 07:01:47 +0900 Subject: [PATCH 3/5] chore: fix poor mistake, take 2 --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 10a71ec..6d2b388 100644 --- a/renovate.json +++ b/renovate.json @@ -23,7 +23,7 @@ { "customType": "regex", "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"], - "matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], + "matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_ALERTS_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], "depNameTemplate": "mdbook-alerts", "packageNameTemplate": "slowsage/mdbook-pagetoc", "datasourceTemplate": "github-releases" From f264788fd128863ab2d52b185d7991f844ee1bd2 Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Sat, 29 Jun 2024 07:02:54 +0900 Subject: [PATCH 4/5] chore: add markers to dependencies to enable extractors --- .github/workflows/deploy.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 760e89d..8d492c7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,14 +18,14 @@ jobs: build: runs-on: ubuntu-latest env: - # https://github.com/rust-lang/mdBook/releases/tag/v0.4.40 - MDBOOK_VERSION: 0.4.40 + # renovate: rust-lang/mdBook + MDBOOK_VERSION: '0.4.40' - # https://github.com/slowsage/mdbook-pagetoc/releases/tag/v0.2.0 - MDBOOK_PAGETOC_VERSION: 0.2.0 + # renovate: slowsage/mdbook-pagetoc + MDBOOK_PAGETOC_VERSION: '0.2.0' - # https://github.com/lambdalisue/rs-mdbook-alerts/releases/tag/v0.5.2 - MDBOOK_ALERTS_VERSION: 0.5.2 + # renovate: lambdalisue/rs-mdbook-alerts + MDBOOK_ALERTS_VERSION: '0.5.2' steps: - name: Checkout uses: actions/checkout@v4 From dee4dc778ee6f1f6dfbeef47671498b0ffe76e77 Mon Sep 17 00:00:00 2001 From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Date: Sat, 29 Jun 2024 07:07:39 +0900 Subject: [PATCH 5/5] chore: fix copypasta --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 6d2b388..16c1479 100644 --- a/renovate.json +++ b/renovate.json @@ -25,7 +25,7 @@ "fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"], "matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_ALERTS_VERSION:\\s*'(?\\d\\.\\d+\\.\\d+)'"], "depNameTemplate": "mdbook-alerts", - "packageNameTemplate": "slowsage/mdbook-pagetoc", + "packageNameTemplate": "lambdalisue/rs-mdbook-alerts", "datasourceTemplate": "github-releases" } ]