From 0503d9892aa0d1c1e22704da759bdea9319e4326 Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Sat, 19 Mar 2022 18:04:52 +0100
Subject: [PATCH] Fix ruby condition

---
 .triage-policies.yml | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/.triage-policies.yml b/.triage-policies.yml
index d4dfb95..29b1279 100644
--- a/.triage-policies.yml
+++ b/.triage-policies.yml
@@ -23,22 +23,6 @@ resource_rules:
             A member of the team will have a look at this ticket as soon as possible. Afterwards this ticket will follow
             our issue workflow. We would really appreciate if you could check back to answer questions. Enjoy!
 
-#      - name: Remove inactive label if there was activity
-#        conditions:
-#         date:
-#           attribute: updated_at
-#           condition: newer_than
-#           interval_type: days
-#           interval: 60
-#         state: opened
-#         labels:
-#           - "inactive"
-#       limits:
-#         most_recent: 50
-#       actions:
-#         remove_labels:
-#           - "inactive"
-
       - name: Inactive issues (close)
         conditions:
           date:
@@ -129,7 +113,7 @@ resource_rules:
             - "Status: Need triage"
       - name: Apply in progress if merge request is opened
         conditions:
-          ruby: issue.merge_requests_count > 0
+          ruby: merge_requests_count > 0
         actions:
           labels:
             - "Doing"
-- 
GitLab