Skip to content

Commit b596807

Browse files
authored
Replace Devflow stale branch auto-closer with MergeGate rule (#1152)
We already have a github action that handles stale PRs. The Devflow one isn't as flexible. The intention of the rule was to require branches not be too stale before merging. Updated the rule so that a branch should be no stale-er than 10 days. This number is arbitrary and can be changed to something more appropriate.
1 parent 740b396 commit b596807

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

repository.datadog.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ kind: mergequeue
66
merge_method: squash
77
---
88
schema-version: v1
9-
kind: stale-branches
10-
max_age: 2190h # 3 months
9+
kind: mergegate
10+
rules:
11+
- require: pull-request-freshness
12+
max_age: 10d

0 commit comments

Comments
 (0)