summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-06-17 14:29:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2024-06-17 14:29:24 +1000
commitbe78ce12a3adab2075dd0ca2e66b7c6297bf6a46 (patch)
treed3f65b40c02c04a27a87b6882f0227707e811833
parent4333845e4c57b80ad774ee3796b020c5c7c21740 (diff)
gitlab-triage: add bugbot hook for closing stale needinfo bugs
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1014>
-rw-r--r--.triage-policies.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.triage-policies.yml b/.triage-policies.yml
index 6df94c11..ce97ffd5 100644
--- a/.triage-policies.yml
+++ b/.triage-policies.yml
@@ -3,6 +3,22 @@
# one we have on the main branch at the time)
#
# Note that for adding labels, the label must first created in the project.
+
+# Re-used in issues and mrs
+.close_needinfo: &close_needinfo
+ name: "Close stale needinfo bugs"
+ conditions:
+ labels:
+ - "bugbot::needinfo-timeout"
+ actions:
+ remove_labels:
+ - "bugbot::needinfo-timeout"
+ comment: |
+ I'm closing this bug because some information we requested a while ago was never supplied and
+ we're not able to continue without this information.
+ Please feel free to re-open.
+ status: "close"
+
resource_rules:
issues:
rules:
@@ -63,6 +79,7 @@ resource_rules:
The [libinput documentation](https://wayland.freedesktop.org/libinput/doc/latest/contributing.html)
also has more details on how to get started.
status: "close"
+ - *close_needinfo
merge_requests:
rules:
- name: "Remind contributor of commit rules"
@@ -79,3 +96,4 @@ resource_rules:
Please see [our docs for commit messages](https://wayland.freedesktop.org/libinput/doc/latest/contributing.html#commit-messages)
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