Skip to content

Commit

Permalink
ci(mergify): automatically approve PRs from maintainers
Browse files Browse the repository at this point in the history
We have a limit of 1 approval for each PR in order to go into the merge queue.
To make life for us maintainers easier, we configure mergify to approve our and
only our PRs. This allows a single maintainer to land small PRs without having
to ping another maintainer.

Pull-Request: #3832.
  • Loading branch information
thomaseizinger authored Apr 26, 2023
1 parent 9d78331 commit 9681116
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ pull_request_rules:
message: Approvals have been dismissed because the PR was updated after the `send-it` label was applied.
changes_requested: false

- name: Approve trivial maintainer PRs
conditions:
- base=master
- label=trivial
- author=@libp2p/rust-libp2p-maintainers
actions:
review:

queue_rules:
- name: default
conditions: []

0 comments on commit 9681116

Please sign in to comment.