Skip to content

Commit 895cfa5

Browse files
authored
Add Mergify rule for forwardporting documentation changes (#17874)
* Update .mergify.yml This change is part of elastic/docs-builder#1433. In order to make the porting of documentation changes to `main` more straightforward, a new rule specific to changes inside the `docs` folder is being added. * Update .mergify.yml
1 parent e3055d1 commit 895cfa5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.mergify.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,15 @@ pull_request_rules:
120120
backport:
121121
branches:
122122
- "9.1"
123+
124+
- name: forwardport docs changes to main
125+
conditions:
126+
- merged
127+
- label=docs
128+
- files~=^docs/
129+
- base~=^\d+\.
130+
actions:
131+
backport:
132+
branches:
133+
- main
134+
title: "[{{ destination_branch }}] (forwardport #{{ number }}) {{ title }}"

0 commit comments

Comments
 (0)