Skip to content

Commit

Permalink
[mergify] automerge PRs for mergify prs with auto-bumps (elastic#25632)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 10, 2021
1 parent 17b43a0 commit 900c453
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ pull_request_rules:
git merge upstream/{{base}}
git push upstream {{head}}
```
- name: Automatic squash and merge with success checks and the files matching the regex ^testing/environments/snapshot* are modified.
- name: automatic approval for mergify pull requests with bump updates
conditions:
- author=mergify[bot]
- check-success=beats-ci/pr-merge
- label=automation
- files~=^testing/environments/snapshot.*\.yml$
actions:
review:
type: APPROVE
message: Automatically approving mergify
- name: automatic squash and merge with success checks and the files matching the regex ^testing/environments/snapshot* are modified.
conditions:
- check-success=beats-ci/pr-merge
- label=automation
Expand Down

0 comments on commit 900c453

Please sign in to comment.