Skip to content

Commit

Permalink
Updated dependabot config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Aug 6, 2021
1 parent 7a92261 commit a1afc49
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,26 @@ pull_request_rules:
# DEPENDABOT
# ===============================================================================

- name: Automatic Merge for Dependabot Pull Requests
- name: Automatic Merge for Dependabot Minor Version Pull Requests
conditions:
- -draft
- author~=^dependabot(|-preview)\[bot\]$
- check-success='Analyze (javascript)'
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
review:
type: APPROVE
message: Automatically approving dependabot pull request
merge:
method: merge
- name: Alert on major version detection
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- check-success='Analyze (javascript)'
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
comment:
message: "[⚠️] @{{author}}: this is a major version bump and requires your attention"

# ===============================================================================
# AUTOMATIC MERGE (APPROVALS)
Expand Down

0 comments on commit a1afc49

Please sign in to comment.