Skip to content

Commit

Permalink
Configure Renovate (#439)
Browse files Browse the repository at this point in the history
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:

<details>
<summary>⬆️🪝 Update pre-commit hook adamchainz/blacken-docs to
v1.19.0</summary>

  - 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`


</details>

<details>
<summary>⬆️🐍 Lock file maintenance</summary>

  - Schedule: ["before 4am on monday"]
  - Branch name: `renovate/lock-file-maintenance`
  - Merge into: `main`
  - Regenerate lock files to use latest dependency versions

</details>


---

❓ 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).


<!--renovate-config-hash:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-->

---------

Signed-off-by: burgholzer <burgholzer@me.com>
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 <burgholzer@me.com>
  • Loading branch information
3 people authored Oct 8, 2024
1 parent ed2f3d0 commit 43ee4cc
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/dependabot.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -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
}
]
}
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ anc = "anc"
optin = "optin"


[tool.repo-review]
ignore = ["GH200"]


[tool.cibuildwheel]
build = "cp3*"
skip = "*-musllinux_*"
Expand Down

0 comments on commit 43ee4cc

Please sign in to comment.