chore: Switch to GitHub-native Dependabot
diff --git a/.dependabot/config.yml b/.dependabot/config.yml
deleted file mode 100644
index a5dd1c5..0000000
--- a/.dependabot/config.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-version: 1
-update_configs:
- - package_manager: "javascript"
- directory: "/"
- update_schedule: "monthly"
- automerged_updates:
- - match:
- dependency_type: "all"
- update_type: "semver:minor"
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..67c661a
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,7 @@
+version: 2
+updates:
+- package-ecosystem: npm
+ directory: "/"
+ schedule:
+ interval: monthly
+ open-pull-requests-limit: 10
diff --git a/.mergify.yml b/.mergify.yml
index 86cd00c..52ae1cd 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -12,17 +12,18 @@
- -merged
- -closed
- author!=dependabot[bot]
- - author!=dependabot-preview[bot]
actions:
merge:
method: squash
strict: smart
strict_method: merge
- - name: Automatically approve Dependabot PRs
+ - name: Automatically approve and merge Dependabot PRs
conditions:
- base=master
- - author~=^dependabot(|-preview)\[bot\]$
+ - author=dependabot[bot]
+ - status-success=Run Unit Tests
+ - status-success=Semantic Pull Request
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
- -merged
@@ -30,3 +31,7 @@
actions:
review:
type: APPROVE
+ merge:
+ method: squash
+ strict: smart+fasttrack
+ strict_method: merge