From 4ef2927efe1d6a2985939a441d98d27885a4a811 Mon Sep 17 00:00:00 2001 From: Jasper Vaneessen Date: Fri, 6 May 2022 10:27:38 +0200 Subject: [PATCH] chore: Replace Renovate with Dependabot * chore: add dependabot major version updates * chore: fix dependabot * chore: use target-branch for version updates * chore: ignore husky * chore: dep-bot runs nightly * chore: remove renovate * style: relocate comments * docs: add dependabot instr to release docs * chore: add labels and random nightly times * chore: revert separate security entry for labels Possible bug in deependabot? Raised issue with github support * Revert "docs: add dependabot instr to release docs" This reverts commit e137a65813e478757e436f1a4bf7059aa56e0a1d. * docs: add dependabot instruction for release --- .github/dependabot.yml | 25 ++++++++++++++++++++++--- documentation/release.md | 2 +- renovate.json | 5 ----- 3 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6f1be8b8d..e95170908 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,14 +4,33 @@ updates: directory: / schedule: interval: "daily" - open-pull-requests-limit: 0 + time: "02:13" + timezone: "Europe/Brussels" + labels: + - "github-actions" + - ":gear: dependencies" - package-ecosystem: "npm" directory: / schedule: interval: "daily" - open-pull-requests-limit: 0 + time: "03:35" + timezone: "Europe/Brussels" + target-branch: "versions/5.0.0" + ignore: + # Ignore minor and patch version updates + - dependency-name: "*" + update-types: ["version-update:semver-minor", "version-update:semver-patch"] + # Sticking with Husky 4.x + - dependency-name: "husky" + labels: + - "npm" + - ":gear: dependencies" - package-ecosystem: "docker" directory: / schedule: interval: "daily" - open-pull-requests-limit: 0 + time: "04:22" + timezone: "Europe/Brussels" + labels: + - "docker" + - ":gear: dependencies" diff --git a/documentation/release.md b/documentation/release.md index 0f39ead1b..947ee0440 100644 --- a/documentation/release.md +++ b/documentation/release.md @@ -27,5 +27,5 @@ Steps to follow: * Do a GitHub release. * `npm publish` * Rename the `versions/x.0.0` branch to the next version. - * Update `.github/workflows/schedule.yml` to point at the new branch. + * Update `.github/workflows/schedule.yml` and `.github/dependabot.yml` to point at the new branch. * Potentially upgrade the recipes at https://github.com/CommunitySolidServer/recipes diff --git a/renovate.json b/renovate.json deleted file mode 100644 index d282bab0e..000000000 --- a/renovate.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": [ - "github>rubensworks/renovate-presets:js" - ] -}