Skip to content

Commit

Permalink
infra(mergify): added automatic reviews for github actions is actor
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Dec 10, 2023
1 parent e00e8d4 commit b273770
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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:

0 comments on commit b273770

Please sign in to comment.