From 3d78c08da42c097965c7b72f117128eb15492ae6 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 11 Jun 2025 06:41:39 +0100 Subject: [PATCH] Add rulesets --- ansible.json | 38 ++++++++++++++++++++++++++++++++++++++ hugo.json | 15 +++++++++++++++ python.json | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 ansible.json create mode 100644 hugo.json create mode 100644 python.json diff --git a/ansible.json b/ansible.json new file mode 100644 index 0000000..37c44f0 --- /dev/null +++ b/ansible.json @@ -0,0 +1,38 @@ +{ + "packageRules": [ + { + "matchPackageNames": [ + "ansible" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "automerge": true + }, + { + "matchPackageNames": [ + "ansible-lint" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch" + ], + "automerge": true + }, + { + "matchPackageNames": [ + "community.general", + "community.crypto", + "community.digitalocean", + "gantsign.golang" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "automerge": true + } + ] +} \ No newline at end of file diff --git a/hugo.json b/hugo.json new file mode 100644 index 0000000..162264b --- /dev/null +++ b/hugo.json @@ -0,0 +1,15 @@ +{ + "regexManagers": [ + { + "description": "Update Hugo version in Github Workflows", + "fileMatch": [ + ".yaml$" + ], + "matchStrings": [ + "HUGO_VERSION: (?.*?)" + ], + "depNameTemplate": "gohugoio/hugo", + "datasourceTemplate": "github-releases" + } + ], +} \ No newline at end of file diff --git a/python.json b/python.json new file mode 100644 index 0000000..693b40a --- /dev/null +++ b/python.json @@ -0,0 +1,32 @@ +{ + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "packageRules": [ + { + "description": "Automerge Ruff updates", + "matchManagers": [ + "poetry" + ], + "matchPackageNames": [ + "ruff" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "automerge": true + }, + { + "description": "Automerge Mkdocs updates", + "matchManagers": [ + "poetry" + ], + "matchPackageNames": [ + "mkdocs-material" + ], + "automerge": true + } + ] +} \ No newline at end of file