From e798a18d6a85f72c5399d1c3471bbc8b138035ad Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 21:18:29 +0000 Subject: [PATCH] Add renovate.json --- .github/workflows/ci.yml | 4 ++-- renovate.json | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3de9ad..c63d41a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: ["main", "renovate/*"] pull_request: - branches: [main] + branches: ["main"] workflow_dispatch: jobs: diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..a1b6e8f --- /dev/null +++ b/renovate.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "packageRules": [ + { + "matchUpdateTypes": ["patch", "digest"], + "automerge": true, + "automergeType": "branch" + }, + { + "matchUpdateTypes": ["minor"], + "matchCurrentVersion": "!/^0/", + "automerge": true, + "automergeType": "branch" + } + ], + "regexManagers": [ + { + "fileMatch": [".*\\.ts$"], + "matchStrings": [ + "import .*\"(?https:\\/\\/.*)@(?[^\\/]*)\\/.*\";" + ], + "datasourceTemplate": "deno" + } + ] +}