Skip to content

Commit

Permalink
DX-1586: Automatically approve and merge pull requests from `github-a…
Browse files Browse the repository at this point in the history
…ctions` with the `dependencies` label
  • Loading branch information
asbjornu committed Aug 20, 2021
1 parent a474f81 commit fb26210
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
pull_request_rules:
- name: Automatic approve on dependabot PR
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- and:
label=dependencies
- or:
author~=^dependabot(|-preview)\[bot\]$
author~=^github-actions\[bot\]$
actions:
review:
type: APPROVE

- name: Automatic merge on approval
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- and:
label=dependencies
- or:
author~=^dependabot(|-preview)\[bot\]$
author~=^github-actions\[bot\]$
actions:
merge:
method: merge
Expand Down

0 comments on commit fb26210

Please # to comment.