Skip to content

Commit 6bd764f

Browse files
committed
(mergify) do not attempt to impersonate renovate[bot] as PR author
(cherry picked from commit 11f251c)
1 parent 75a02bb commit 6bd764f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.mergify.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pull_request_rules:
33
- name: promote dev to master branch
44
conditions:
55
- base=dev
6+
- author!=renovate[bot]
67
actions:
78
backport:
89
branches:
@@ -13,3 +14,15 @@ pull_request_rules:
1314
- from-dev
1415
assignees:
1516
- "{{ author }}"
17+
# mergify can't impersonate renovate[bot] as a PR author
18+
- name: promote renovate[bot] dev to master branch
19+
conditions:
20+
- base=dev
21+
- author=renovate[bot]
22+
actions:
23+
backport:
24+
branches:
25+
- master
26+
title: "{{ title }} (promote #{{ number }} to {{ destination_branch }})"
27+
labels:
28+
- from-dev

0 commit comments

Comments
 (0)