From 143731879f610dae64d198f108c20b5e86c0d7ba Mon Sep 17 00:00:00 2001 From: "l.feng" <43399351+msclock@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:31:53 +0800 Subject: [PATCH] fix: remove redundant fileMatch items (#67) Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com> --- .renovaterc.json | 4 +--- template/.renovaterc.json.jinja | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.renovaterc.json b/.renovaterc.json index e1b8ba5..71512d9 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -94,10 +94,8 @@ "fileMatch": [ "^\\.github/workflows/.+\\.yml$", "^\\.renovaterc\\.json$", - "^Makefile$", "^template/.*?/workflows/.+\\.yml(\\.jinja)?$", - "^template/\\.renovaterc\\.json\\.jinja$", - "^template/Makefile\\.jinja$" + "^template/\\.renovaterc\\.json\\.jinja$" ], "matchStrings": [ "pipx? install.* (?.*?)==(?.*?)[\\s\";]" diff --git a/template/.renovaterc.json.jinja b/template/.renovaterc.json.jinja index 7bd9c86..b34ba93 100644 --- a/template/.renovaterc.json.jinja +++ b/template/.renovaterc.json.jinja @@ -101,12 +101,10 @@ "datasourceTemplate": "pypi", "fileMatch": [ "^\\.github/workflows/.+\\.yml$", - "^\\.renovaterc\\.json$", - "^Makefile$" + "^\\.renovaterc\\.json$" [%- if repo_name == 'ss-pybind11' %], "^template/.*?/workflows/.+\\.yml(\\.jinja)?$", - "^template/\\.renovaterc\\.json\\.jinja$", - "^template/Makefile\\.jinja$" + "^template/\\.renovaterc\\.json\\.jinja$" [%- endif %] ], "matchStrings": [ @@ -119,8 +117,10 @@ "depTypeTemplate": "github-runner", "description": "Match GitHub runner defined in GitHub Actions matrix strategy", "fileMatch": [ - "^\\.github/workflows/.+\\.yml$", + "^\\.github/workflows/.+\\.yml$" +[%- if repo_name == 'ss-pybind11' %], "^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$" +[%- endif %] ], "matchStringsStrategy": "recursive", "matchStrings": [