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

Merge pull request #2251 from shleeable/dependabot/add-v2-config-file

Migrate to Dependabot v2
daniel 5 жил өмнө
parent
commit
6ceae3286c

+ 0 - 31
.dependabot/config.yml

@@ -1,31 +0,0 @@
-version: 1
-
-update_configs:
-  - package_manager: "php:composer"
-    directory: "/"
-    update_schedule: "daily"
-    # Supported update schedule: live daily weekly monthly
-    target_branch: "staging"
-    version_requirement_updates: "auto"
-    # Supported version requirements: auto widen_ranges increase_versions increase_versions_if_necessary
-    allowed_updates:
-      - match:
-          dependency_type: "all"
-          # Supported dependency types: all indirect direct production development
-          update_type: "all"
-          # Supported update types: all security
-
-  - package_manager: "javascript"
-    directory: "/"
-    update_schedule: "daily"
-    # Supported update schedule: live daily weekly monthly
-    target_branch: "staging"
-    version_requirement_updates: "auto"
-    # Supported version requirements: auto widen_ranges increase_versions increase_versions_if_necessary
-    allowed_updates:
-      - match:
-          dependency_type: "all"
-          # Supported dependency types: all indirect direct production development
-          update_type: "all"
-          # Supported update types: all security
-    

+ 18 - 0
.github/dependabot.yml

@@ -0,0 +1,18 @@
+version: 2
+updates:
+- package-ecosystem: composer
+  directory: "/"
+  schedule:
+    interval: daily
+  open-pull-requests-limit: 99
+  target-branch: staging
+  allow:
+  - dependency-type: all
+- package-ecosystem: npm
+  directory: "/"
+  schedule:
+    interval: daily
+  open-pull-requests-limit: 99
+  target-branch: staging
+  allow:
+  - dependency-type: all