ci: add commands_restrictions (#375)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yiya Chen 2025-07-03 17:46:11 +08:00 committed by GitHub
parent 0ef4ff65cc
commit 17dd46cee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
.github/mergify.yml vendored
View File

@ -1,7 +1,14 @@
pull_request_rules:
- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflict. Could you fix it @{{author}}? 🙏
- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflict. Could you fix it @{{author}}? 🙏
commands_restrictions:
backport:
conditions:
- or:
- sender-permission>=write
- sender=github-actions[bot]