From 759dbd07dadbc21666e3625aeef9267225099ab7 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 27 Aug 2023 23:58:27 +0200 Subject: [PATCH 1/2] feat(tool): Setup renovate Signed-off-by: jld3103 --- .github/renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..47c1c862 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:best-practices" + ], + "labels": [ + "dependencies" + ], + "rangeStrategy": "bump" +} From c77e289eab4341e493fec45aa2dc065abbb2aaf4 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 27 Aug 2023 23:59:12 +0200 Subject: [PATCH 2/2] chore(tool): Remove dependabot Signed-off-by: jld3103 --- .github/dependabot.yml | 86 ------------------------------------- tool/generate-dependabot.sh | 28 ------------ 2 files changed, 114 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100755 tool/generate-dependabot.sh diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index d326a98e..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,86 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "gradle" - directory: "/packages/app/android" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/app" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/dynamite/dynamite" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/dynamite/dynamite_runtime" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/file_icons" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/neon/neon" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/neon/neon_files" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/neon/neon_news" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/neon/neon_notes" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/neon/neon_notifications" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/nextcloud" - schedule: - interval: "daily" - labels: - - "dependencies" - - package-ecosystem: "pub" - directory: "/packages/sort_box" - schedule: - interval: "daily" - labels: - - "dependencies" diff --git a/tool/generate-dependabot.sh b/tool/generate-dependabot.sh deleted file mode 100755 index 47386dea..00000000 --- a/tool/generate-dependabot.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -set -euxo pipefail -cd "$(dirname "$0")/.." - -output="version: 2 -updates:" - -function add_update() { - package_ecosystem="$1" - path="$2" - - output+=" - - package-ecosystem: \"$package_ecosystem\" - directory: \"$path\" - schedule: - interval: \"daily\" - labels: - - \"dependencies\"" -} - -add_update github-actions / -add_update gradle /packages/app/android -add_update pub / -for path in $(melos list --relative --parsable); do - add_update pub "/$path" -done - -echo "$output" > .github/dependabot.yml