.triage-policies.yml 4.75 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
resource_rules:
  issues:
    rules:
      - name: Close stale issues with no milestone or planning labels
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 18
          milestone:
            - No Milestone
          forbidden_labels:
            - 2. Deliverable
            - 2. Stretch
            - 1. Epic
            # Features are handled in a different rule
            - 1. Feature
          state: opened
        actions:
          status: close
          labels:
            - 15. Auto Updated
          comment: |
            Hi,

            Thank you for raising an issue to help improve Nautilus. We're sorry this particular issue has gone unnoticed for quite some time.

            This issue will be closed, as it meets the following criteria:
            * No activity in the past 18 months (3 releases).
            * Unscheduled. Not associated with a milestone or with ~"2. Deliverable" or ~"2. Stretch" project planning labels.

            We'd like to ask you to help us keep our issue tracker organized  by determining whether this issue should be reopened.

            If this issue is reporting a bug, let us know if this issue is still present in a newer version and if you can reproduce it in the [nightly version](https://wiki.gnome.org/Apps/Nightly).

            Thanks for your help!
38

39
            ---
40

41
            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715
42 43 44 45

      - name: Mark stale unlabelled issues for triage
        conditions:
          date:
46
            attribute: created_at
47 48
            condition: older_than
            interval_type: months
49
            interval: 2
50 51 52 53 54 55 56 57 58 59
          # We want to handle those that doesn't have these labels, including those with other labels.
          forbidden_labels:
            - 1. Bug
            - 1. Crash
            - 1. Epic
            - 1. Feature
          state: opened
        actions:
          labels:
            - 15. Untriaged
60 61 62
          summarize:
            title: Issues that need triaging
            item: |
63
              - {{web_url}} - {{title}} - {{labels}}
64 65
            summary: |
              The following issues were created two months ago and they are unlabeled:
66

67
              {{items}}
68

69
              /cc @Teams/BugSquad
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92

      - name: Close old feature proposals without planning labels or milestones
        conditions:
          date:
            attribute: created_at
            condition: older_than
            interval_type: months
            interval: 12
          labels:
            - 1. Feature
          forbidden_labels:
            - 2. Deliverable
            - 2. Stretch
            - 1. Epic
          milestone:
            - No Milestone
          state: opened
          upvotes:
            attribute: upvotes
            condition: less_than
            threshold: 10
        actions:
          labels:
93
            - 15. Auto Updated
94 95 96 97
          status: close
          comment: |
            Hi,

98
            First of all, thank you for raising an issue to help improving Nautilus. In order to maintain order in the issue tracker we are closing old, unscheduled feature proposals.
99

100
            Unfortunately, no Merge Request has been provided for this, and/or the project contributors are not planning this feature in the foreseeable future.
101 102 103 104

            This issue will be closed as it meets the following criteria:
            * Created more than 12 months ago
            * Labeled as ~"1. Feature"
105 106
            * Not associated with a milestone or with ~"2. Deliverable" or ~"2. Stretch" project planning labels.
            
107
            Thanks for your help!
108

109
            ---
110

111
            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715
112

113
      - name: Close issues that need information and weren't updated 
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: weeks
            interval: 4
          state: opened
          labels:
            - 2. Needs Information 
        actions:
          status: close
          labels:
            - 15. Auto Updated
          comment: |
            Closing this issue as no further information or feedback has been provided.

            Please feel free to reopen this issue if you can provide the information or feedback.

            Thanks for your help!
133

134
            ---
135

136
            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715