mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-29 02:31:20 +00:00
ci(mergify): dismiss approvals on push once send-it
is applied (#3231)
Currently, a user can push code after it has been approved and the send-it label applied. We only want to merge code that we actually looked at. Use mergify to dismiss approvals in such circumstances.
This commit is contained in:
parent
bffe4153bc
commit
cbf0a273cd
10
.github/mergify.yml
vendored
10
.github/mergify.yml
vendored
@ -24,6 +24,16 @@ pull_request_rules:
|
|||||||
actions:
|
actions:
|
||||||
queue:
|
queue:
|
||||||
|
|
||||||
|
- name: Remove reviews on updates after PR is queued for merging
|
||||||
|
conditions:
|
||||||
|
- base=master
|
||||||
|
- label=send-it
|
||||||
|
- author!=@libp2p/rust-libp2p-maintainers
|
||||||
|
actions:
|
||||||
|
dismiss_reviews:
|
||||||
|
message: Approvals have been dismissed because the PR was updated after the `send-it` label was applied.
|
||||||
|
changes_requested: false
|
||||||
|
|
||||||
queue_rules:
|
queue_rules:
|
||||||
- name: default
|
- name: default
|
||||||
conditions: []
|
conditions: []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user