labelAdded.noRecentActivity.yml (1939B)
1 id: labelAdded.noRecentActivity 2 name: GitOps.PullRequestIssueManagement 3 description: Handlers when "No-Recent-Activity" label is added 4 owner: 5 resource: repository 6 disabled: false 7 where: 8 configuration: 9 resourceManagementConfiguration: 10 eventResponderTasks: 11 - description: >- 12 When the label "No-Recent-Activity" is added to a pull request 13 * Add the PR specific reply notifying the issue author of pending closure 14 if: 15 - payloadType: Pull_Request 16 - labelAdded: 17 label: No-Recent-Activity 18 then: 19 - addReply: 20 reply: >- 21 Hello @${issueAuthor}, 22 23 24 This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**. 25 26 27 Template: msftbot/noRecentActivity 28 # The policy service should trigger even when the label was added by the policy service 29 triggerOnOwnActions: true 30 - description: >- 31 When the label "No-Recent-Activity" is added to an issue 32 * Add the issue specific reply notifying the issue author of pending closure 33 if: 34 - payloadType: Issues 35 - labelAdded: 36 label: No-Recent-Activity 37 then: 38 - addReply: 39 reply: >- 40 Hello @${issueAuthor}, 41 42 43 This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**. 44 45 46 Template: msftbot/noRecentActivity 47 # The policy service should trigger even when the label was added by the policy service 48 triggerOnOwnActions: true 49 onFailure: 50 onSuccess: