gitlab-triage: add a needinfo reminder blurb
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Jun 2024 23:15:17 +0000 (09:15 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jun 2024 07:31:17 +0000 (07:31 +0000)
Goes together with the recently added
be78ce12a3ad ("gitlab-triage: add bugbot hook for closing stale needinfo bugs")
so we can ping people before closing the bug.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1020>

.triage-policies.yml

index ce97ffd57abe67378f53afa712494d265446ef41..e166dca54a689a8c56f2d125492a629d694cd18e 100644 (file)
       Please feel free to re-open.
     status: "close"
 
+.remind_needinfo: &remind_needinfo
+  name: "Remind users of needinfo bugs"
+  conditions:
+    labels:
+      - "bugbot::needinfo-reminder"
+  actions:
+    labels:
+      - "waiting on reporter"
+    remove_labels:
+      - "bugbot::needinfo-reminder"
+    comment: |
+      Hi. This is a friendly reminder that the maintainers are waiting on some information by
+      you (or maybe someone cc'd on this bug). If the information is not provided we may not
+      be able to proceed with this issue or merge request. Please check the recent comments, thanks.
+
 resource_rules:
   issues:
     rules:
@@ -80,6 +95,7 @@ resource_rules:
             also has more details on how to get started.
           status: "close"
       - *close_needinfo
+      - *remind_needinfo
   merge_requests:
     rules:
       - name: "Remind contributor of commit rules"
@@ -97,3 +113,4 @@ resource_rules:
             and [our docs for submitting code](https://wayland.freedesktop.org/libinput/doc/latest/contributing.html#submitting-code)
             that explain how to amend and force-push to this repo.
       - *close_needinfo
+      - *remind_needinfo