Skip to content

Commit

Permalink
fix(mergify): disable approve rules (#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Mar 4, 2024
1 parent a3d4b37 commit 46ec6c4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@ 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:
# - name: Approve trivial maintainer PRs
# conditions:
# - base=master
# - label=trivial
# - author=@libp2p/rust-libp2p-maintainers
# actions:
# review:

- name: Approve dependabot PRs of semver-compatible updates
conditions:
- author=dependabot[bot]
- or:
- title~=bump [^\s]+ from ([1-9]+)\..+ to \1\. # For major >= 1 versions, only approve updates with the same major version.
- title~=bump [^\s]+ from 0\.([\d]+)\..+ to 0\.\1\. # For major == 0 versions, only approve updates with the same minor version.
actions:
review:
# - name: Approve dependabot PRs of semver-compatible updates
# conditions:
# - author=dependabot[bot]
# - or:
# - title~=bump [^\s]+ from ([1-9]+)\..+ to \1\. # For major >= 1 versions, only approve updates with the same major version.
# - title~=bump [^\s]+ from 0\.([\d]+)\..+ to 0\.\1\. # For major == 0 versions, only approve updates with the same minor version.
# actions:
# review:

queue_rules:
- name: default
Expand Down

0 comments on commit 46ec6c4

Please sign in to comment.