Skip to content

Commit 41a3964

Browse files
authored
[CI] Mergify autoapprove configuration for ESS version pinning (#8528)
* [CI] Mergify autoapprove configuration for ESS version pinning * Added PR rebase rule * Merged the rules
1 parent f9afe72 commit 41a3964

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.mergify.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,42 @@ defaults:
1919
labels:
2020
- "backport"
2121
pull_request_rules:
22-
- name: automatic approval for updatecli pull requests with changes in .buildkite
22+
- name: automatic approval for updatecli pull requests with changes in .buildkite or create_deployment_csp_configuration.yaml
2323
conditions:
2424
- author=github-actions[bot]
2525
- check-success=buildkite/elastic-agent
26-
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
26+
- or:
27+
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
28+
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
2729
- head~=^updatecli_.*
2830
actions:
2931
review:
3032
type: APPROVE
3133
message: Automatically approving mergify
32-
- name: automatic squash and merge with success checks and the files matching the regex .buildkite is modified.
34+
- name: automatic squash and merge with success checks and the files matching the regex .buildkite or create_deployment_csp_configuration.yaml is modified.
3335
conditions:
3436
- author=github-actions[bot]
3537
- check-success=buildkite/elastic-agent
36-
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml|.buildkite/bk.integration-fips.pipeline.yml)$
38+
- or:
39+
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
40+
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
3741
- head~=^updatecli_.*
3842
- "#approved-reviews-by>=1"
3943
actions:
4044
queue:
4145
name: default
42-
- name: rebase pull requests for the VM autobump
46+
- name: rebase pull requests for the VM autobump and ESS version pinning
4347
conditions:
4448
- author=github-actions[bot]
45-
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml|.buildkite/bk.integration-fips.pipeline.yml)$
49+
- or:
50+
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
51+
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
4652
- head~=^updatecli_.*
4753
- "#check-failure>0"
48-
- schedule=Tue-Fri 04:00-06:00[Europe/Paris]
54+
- schedule=Mon-Fri 04:00-06:00[Europe/Paris]
4955
actions:
5056
rebase:
57+
5158
- name: self-assign PRs
5259
conditions:
5360
- -merged

0 commit comments

Comments
 (0)