From 775e9ddbc9c970d3585b7805d2e80db098477fbc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 11 Oct 2024 12:44:30 +0000
Subject: [PATCH] chore: Configure Renovate (#73)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)!
This is an onboarding PR to help you understand and configure settings
before regular Pull Requests begin.
🚦 To activate Renovate, merge this Pull Request. To disable Renovate,
simply close this Pull Request unmerged.
---
### Detected Package Files
* `.github/workflows/cd.yml` (github-actions)
* `.github/workflows/ci.yml` (github-actions)
* `.github/workflows/nextjs.yml` (github-actions)
* `.github/workflows/release-drafter.yml` (github-actions)
* `pyproject.toml` (pep621)
* `.pre-commit-config.yaml` (pre-commit)
### Configuration Summary
Based on the default config's presets, Renovate will:
- Start dependency updates only once this onboarding PR is merged
- Show all Merge Confidence badges for pull requests.
- Enable Renovate Dependency Dashboard creation.
- Use semantic commit type `fix` for dependencies and `chore` for all
others if semantic commits are in use.
- Ignore `node_modules`, `bower_components`, `vendor` and various
test/tests (except for nuget) directories.
- Group known monorepo packages together.
- Use curated list of recommended non-monorepo package groupings.
- Apply crowd-sourced package replacement rules.
- Apply crowd-sourced workarounds for known problems with packages.
- Append `Signed-off-by:` to signoff Git commits.
- Run Renovate on following schedule: every weekend
🔡 Do you want to change how Renovate upgrades your dependencies? Add
your custom config to `renovate.json` in this branch. Renovate will
update the Pull Request description the next time it runs.
---
### What to Expect
With your current configuration, Renovate will create 2 Pull Requests:
chore(pre-commit): ⬆️🪝 Update pre-commit hook
adamchainz/blacken-docs to v1.19.0
- Schedule: ["every weekend"]
- Branch name: `renovate/adamchainz-blacken-docs-1.x`
- Merge into: `main`
- Upgrade
[adamchainz/blacken-docs](https://redirect.github.com/adamchainz/blacken-docs)
to `1.19.0`
chore(python-deps): ⬆️🐍 Lock file maintenance
- Schedule: ["before 4am on monday"]
- Branch name: `renovate/lock-file-maintenance`
- Merge into: `main`
- Regenerate lock files to use latest dependency versions
---
❓ Got questions? Check out Renovate's
[Docs](https://docs.renovatebot.com/), particularly the Getting Started
section.
If you need any further assistance then you can also [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cda-tum/mqt-qubomaker).
---------
Signed-off-by: burgholzer
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: burgholzer
---
.github/dependabot.yml | 25 -------------------------
.github/renovate.json5 | 38 ++++++++++++++++++++++++++++++++++++++
pyproject.toml | 4 ++++
3 files changed, 42 insertions(+), 25 deletions(-)
delete mode 100644 .github/dependabot.yml
create mode 100644 .github/renovate.json5
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 3e5f16b..0000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "pip"
- directory: "/"
- groups:
- python-dependencies:
- patterns:
- - "*"
- schedule:
- interval: "weekly"
- day: "friday"
- time: "06:00"
- timezone: "Europe/Vienna"
-
- - package-ecosystem: "github-actions"
- directory: "/"
- groups:
- github-actions:
- patterns:
- - "*"
- schedule:
- interval: "weekly"
- day: "friday"
- time: "06:00"
- timezone: "Europe/Vienna"
diff --git a/.github/renovate.json5 b/.github/renovate.json5
new file mode 100644
index 0000000..5bac6d2
--- /dev/null
+++ b/.github/renovate.json5
@@ -0,0 +1,38 @@
+{
+ $schema: "https://docs.renovatebot.com/renovate-schema.json",
+ extends: ["config:recommended", ":gitSignOff"],
+ prHourlyLimit: 10,
+ enabledManagers: ["github-actions", "pre-commit", "pep621"],
+ "pre-commit": {
+ enabled: true
+ },
+ lockFileMaintenance: {
+ "enabled": true,
+ // "automerge": true, disabled due to endless update loops caused by setuptools_scm
+ },
+ configMigration: true,
+ labels: ["dependencies"],
+ schedule: ["every weekend"],
+ packageRules: [
+ {
+ matchManagers: ["github-actions"],
+ addLabels: ["github-actions"],
+ commitMessagePrefix: "chore(github-actions): ⬆\uFE0F\uD83D\uDC68\u200D\uD83D\uDCBB"
+ },
+ {
+ matchManagers: ["pep621"],
+ addLabels: ["python"],
+ commitMessagePrefix: "chore(python-deps): ⬆\uFE0F\uD83D\uDC0D"
+ },
+ {
+ matchManagers: ["pre-commit"],
+ addLabels: ["pre-commit"],
+ commitMessagePrefix: "chore(pre-commit): ⬆\uFE0F\uD83E\uDE9D",
+ },
+ {
+ "description": "Automerge patch updates",
+ "matchUpdateTypes": ["patch"],
+ "automerge": true
+ }
+ ]
+}
diff --git a/pyproject.toml b/pyproject.toml
index 09138ff..931af36 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -202,3 +202,7 @@ default.extend-ignore-re = [
]
[tool.typos.default.extend-words]
wille = "wille"
+
+
+[tool.repo-review]
+ignore = ["GH200"]