Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/dependabot.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/automerge.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Now just follow the typical steps to [contribute code](https://guides.github.com

- `python scripts/import_and_patch_translators.py` updates all Zotero submodules, post-processes the translators and applies the necessary patches for our extension

The following commands are used to update the dependencies of the project; as we use automatic dependency updates this should not be necessary in most cases, but it is good to know how to do it manually:
The following commands are used to update the dependencies of the project; as we use Renovate for automatic dependency updates this should not be necessary in most cases, but it is good to know how to do it manually:

- `pnpm outdated` gives an overview of outdated packages ([doc](https://pnpm.io/cli/outdated))
- `pnpm update --latest` updates all packages
Expand Down
43 changes: 43 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
":semanticCommitTypeAll(chore)",
// Update lock files: https://docs.renovatebot.com/presets-default/#maintainlockfilesmonthly
":maintainLockFilesMonthly",
// Automerge all updates once they pass tests: https://docs.renovatebot.com/presets-default/#automergeall
":automergeAll",
// Update _VERSION variables in GitHub Action files: https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
"customManagers:githubActionsVersions",
// Pin Github Actions versions: https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigeststosemver
"helpers:pinGitHubActionDigestsToSemver",
],
schedule: [
// Monthly, but give a 3-day window (due to throttling not all PRs may be created on the same day): https://docs.renovatebot.com/configuration-options/#schedule
"on the 2nd through 5th day of the month",
],
// Always squash PRs: https://docs.renovatebot.com/configuration-options/#automergestrategy
automergeStrategy: "squash",
// Pin all dependencies: https://docs.renovatebot.com/dependency-pinning/
rangeStrategy: "pin",
packageRules: [
{ matchPackageNames: ["*"], matchManagers: ["npm"] },
{
matchManagers: ["docker-compose", "dockerfile"],
groupName: "docker",
},
{
matchManagers: ["devcontainer"],
groupName: "devcontainer",
},
{
matchManagers: ["github-actions"],
groupName: "github-actions",
},
],
"github-actions": { enabled: true },
postUpdateOptions: [
// Always dedupe the lock file after updating dependencies: https://docs.renovatebot.com/configuration-options/#postupdateoptions
"pnpmDedupe",
],
}
Loading