1
0
Эх сурвалжийг харах

Add Renovate config (#3824)

* Add renovate config

* Make sure filegator composer.json is ignored

* Update renovate.json

---------

Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Jakob Bouchard 2 жил өмнө
parent
commit
50d5265e25

+ 0 - 25
.github/dependabot.yml

@@ -1,25 +0,0 @@
-version: 2
-updates:
-  # Maintain dependencies for GitHub Actions
-  - package-ecosystem: "github-actions"
-    directory: "/"
-    schedule:
-      interval: "weekly"
-
-  # Maintain dependencies for npm
-  - package-ecosystem: "npm"
-    directory: "/"
-    schedule:
-      interval: "weekly"
-
-  # Maintain dependencies for Composer
-  - package-ecosystem: "composer"
-    directory: "/web/inc" # Location of package manifests
-    schedule:
-      interval: "weekly"
-
-  # Maintain dependencies for Composer
-  - package-ecosystem: "composer"
-    directory: "/web/src" # Location of package manifests
-    schedule:
-      interval: "weekly"

+ 1 - 1
.vscode/settings.json

@@ -7,7 +7,7 @@
 	"explorer.fileNesting.patterns": {
 		"*.css": "${capture}.css.map",
 		"*.js": "${capture}.js.map",
-		"package.json": ".editorconfig, .eslint*, .lintstaged*, .markdownlint-cli2*, .prettier*, .stylelint*, jsconfig.json, package-lock.json",
+		"package.json": ".editorconfig, .eslint*, .lintstaged*, .markdownlint-cli2*, .prettier*, .stylelint*, jsconfig.json, package-lock.json, renovate.json",
 		"readme*": "changelog*, contributing*, license*, security*"
 	}
 }

+ 9 - 0
renovate.json

@@ -0,0 +1,9 @@
+{
+	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
+	"reviewers": ["jaapmarcus"],
+	"enabledManagers": ["npm", "composer", "github-actions"],
+	"ignorePaths": ["**/node_modules/**", "install/deb/filemanager/filegator/composer.json"],
+	"branchPrefix": "dependencies",
+	"bumpVersion": "patch",
+	"extends": ["config:recommended", "group:allNonMajor", "schedule:earlyMondays"]
+}