Browse Source

chore(tool): Remove dependabot

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/611/head
jld3103 1 year ago
parent
commit
c77e289eab
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 86
      .github/dependabot.yml
  2. 28
      tool/generate-dependabot.sh

86
.github/dependabot.yml

@ -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"

28
tool/generate-dependabot.sh

@ -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
Loading…
Cancel
Save