From b273770aef5f35b7d52d1eafb72c70495a1acd2d Mon Sep 17 00:00:00 2001 From: Rangga Fajar Oktariansyah <86386385+FajarKim@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:43:07 +0700 Subject: [PATCH] infra(mergify): added automatic reviews for github actions is actor --- .github/mergify.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index ebb96c8..b8a4c77 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,8 +1,6 @@ queue_rules: - # If you have other queues defined, add this at the end so it is processed last - name: dep-update batch_size: 10 - # Wait for up to 30 minutes for the batch to fill up batch_max_wait_time: 30 min queue_conditions: - author = dependabot[bot] @@ -20,8 +18,15 @@ pull_request_rules: - "#approved-reviews-by>=1" actions: queue: + - name: Automatic approve for GitHub Actions pull requests + conditions: + - author = github-actions[bot] + actions: + review: + type: APPROVE - name: Automatic merge for GitHub Actions pull requests conditions: - author = github-actions[bot] + - "#approved-reviews-by>=1" actions: merge: