From 6fca541847e97bea64e00c8e4f5741d426517f4a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 27 Jan 2022 17:10:07 +0000 Subject: [PATCH] Restrict the Mergify copy command to core contributors (#22792) (cherry picked from commit c0638439be313efc6e0984aff6bdfd794dfa1713) Co-authored-by: Michael Vines --- .mergify.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index ff646dd917..65b9f3ec34 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -113,3 +113,10 @@ pull_request_rules: ignore_conflicts: true branches: - v1.9 + +commands_restrictions: + # The author of copied PRs is the Mergify user. + # Restrict `copy` access to Core Contributors + copy: + conditions: + - author=@core-contributors