Restrict the Mergify copy command to core contributors (backport #22789) (#22791)

* Restrict the Mergify copy command to core contributors

(cherry picked from commit c0638439be)

# Conflicts:
#	.mergify.yml

* Update .mergify.yml

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2022-01-27 17:11:32 +00:00
committed by GitHub
parent 92cc75b3ae
commit 367e23fe22

View File

@ -65,20 +65,11 @@ pull_request_rules:
backport:
ignore_conflicts: true
branches:
- v1.5
- name: v1.6 backport
- v1.9
commands_restrictions:
# The author of copied PRs is the Mergify user.
# Restrict `copy` access to Core Contributors
copy:
conditions:
- label=v1.6
actions:
backport:
ignore_conflicts: true
branches:
- v1.6
- name: v1.7 backport
conditions:
- label=v1.7
actions:
backport:
ignore_conflicts: true
branches:
- v1.7
- author=@core-contributors