From 43ee4cc33f24b7193c8b934e3e7fc8f7fb3d5e2c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Oct 2024 12:32:39 +0000
Subject: [PATCH] Configure Renovate (#439)
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/release-drafter.yml` (github-actions)
* `.github/workflows/update-mqt-core.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:
⬆️🪝 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`
⬆️🐍 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-ddsim).
---------
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 | 36 ------------------------------------
.github/renovate.json5 | 38 ++++++++++++++++++++++++++++++++++++++
pyproject.toml | 4 ++++
3 files changed, 42 insertions(+), 36 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 19ad743f..00000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "gitsubmodule"
- directory: "/"
- groups:
- submodules:
- patterns:
- - "*"
- schedule:
- interval: "monthly"
- time: "05:00"
- timezone: "Europe/Vienna"
-
- - package-ecosystem: "github-actions"
- directory: "/"
- groups:
- github-actions:
- patterns:
- - "*"
- schedule:
- interval: "weekly"
- day: "friday"
- time: "05:00"
- timezone: "Europe/Vienna"
-
- - package-ecosystem: "pip"
- directory: "/"
- groups:
- python-dependencies:
- patterns:
- - "*"
- schedule:
- interval: "weekly"
- day: "friday"
- time: "05:00"
- timezone: "Europe/Vienna"
diff --git a/.github/renovate.json5 b/.github/renovate.json5
new file mode 100644
index 00000000..2b27553b
--- /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", "continuous integration"],
+ commitMessagePrefix: "⬆\uFE0F\uD83D\uDC68\u200D\uD83D\uDCBB"
+ },
+ {
+ matchManagers: ["pep621"],
+ addLabels: ["python"],
+ commitMessagePrefix: "⬆\uFE0F\uD83D\uDC0D"
+ },
+ {
+ matchManagers: ["pre-commit"],
+ addLabels: ["pre-commit", "continuous integration"],
+ commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D",
+ },
+ {
+ "description": "Automerge patch updates",
+ "matchUpdateTypes": ["patch"],
+ "automerge": true
+ }
+ ]
+}
diff --git a/pyproject.toml b/pyproject.toml
index 338e4c62..dcbd7318 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -275,6 +275,10 @@ anc = "anc"
optin = "optin"
+[tool.repo-review]
+ignore = ["GH200"]
+
+
[tool.cibuildwheel]
build = "cp3*"
skip = "*-musllinux_*"