1
0
Fork 0
mirror of synced 2026-06-05 14:35:14 +00:00

chore: Switch to GitHub-native Dependabot

This commit is contained in:
Clare Liguori 2020-06-29 20:44:37 -07:00
commit fe3da2c1fd
3 changed files with 15 additions and 12 deletions

View file

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

7
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 10

View file

@ -12,17 +12,18 @@ pull_request_rules:
- -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 @@ pull_request_rules:
actions:
review:
type: APPROVE
merge:
method: squash
strict: smart+fasttrack
strict_method: merge