Skip to content

Commit

Permalink
ci(mergify): auto approve PRs for build gh actions
Browse files Browse the repository at this point in the history
Signed-off-by: davidko <dko@suse.com>
  • Loading branch information
innobead committed Jun 24, 2024
1 parent 97548a2 commit e0876fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pull_request_rules:
- name: Automatically merge PRs
conditions:
- check-success=continuous-integration/drone/pr
- check-success="Build AMD64 binaries"
- check-success="Build ARM64 binaries"
- "#approved-reviews-by>=2"
- approved-reviews-by=@longhorn/maintainer
actions:
Expand All @@ -10,15 +11,17 @@ pull_request_rules:

- name: Automatically merge Renovate PRs
conditions:
- check-success=continuous-integration/drone/pr
- check-success="Build AMD64 binaries"
- check-success="Build ARM64 binaries"
- author = renovate[bot]
actions:
merge:
method: rebase

- name: Automatically approve Renovate PRs
conditions:
- check-success=continuous-integration/drone/pr
- check-success="Build AMD64 binaries"
- check-success="Build ARM64 binaries"
- author = renovate[bot]
actions:
review:
Expand Down

0 comments on commit e0876fa

Please sign in to comment.