diff --git a/.triage-policies.yml b/.triage-policies.yml index 30f3749108d9b4f7ff5f3924490aa06920be5421..4ddcf41f7c96c607707fcbad79a021cee4b6964d 100644 --- a/.triage-policies.yml +++ b/.triage-policies.yml @@ -113,7 +113,7 @@ resource_rules: - "Status: Need triage" - name: Apply in progress if merge request is opened conditions: - ruby: merge_requests_count > 0 + ruby: related_merge_requests.count{ |mr| mr.state == "opened" } > 0 state: opened forbidden_labels: - "Status: Blocked"