From 070694531a1b227ed48b480d1e6c0cb7f7239ddf Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Mon, 26 May 2025 20:57:34 +0100 Subject: [PATCH] feat: add basic Copier preset for Saltstack Formulas --- .pre-commit-config.yaml | 3 ++- copier.json | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 copier.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4dcfc66..fbd88fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,5 +22,6 @@ repos: files: | (?x)( (^|/).?renovate(?:rc)?(?:\.json5?)?$| - default.json + default.json| + copier.json )$ diff --git a/copier.json b/copier.json new file mode 100644 index 0000000..9f70cf9 --- /dev/null +++ b/copier.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Copier preset for use with Saltstack Formulas' repos", + "enabledManagers": [ + "copier" + ], + "packageRules": [ + { + "matchManagers": [ + "copier" + ], + "description": "Limit branch creation to once a month", + "extends": [ + "schedule:monthly" + ] + } + ] +}