From c0638439be313efc6e0984aff6bdfd794dfa1713 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 27 Jan 2022 09:00:27 -0800 Subject: [PATCH] Restrict the Mergify copy command to core contributors --- .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