doc/bot.md
The goal here is to help us automate, manage, and narrow down what we actually need to focus on in this repository. We'll be using tags, primarily, to help us understand what needs attention, what is sitting around and turning stale, etc.
Needs-Attention as top priorityNeeds-Triage during triage meetings to get a handle on what's new and sort it outNeeds-Tag-Fix when you have a few minutes to fix up things tagged improperlyNeeds-Author-Feedback when there's something we need the author to follow up on and want attention if they return it or an auto-close for inactivity if it goes stale.Needs-Triage automatically.
Product, Area, and Issue category.Needs-Triage tag will be removed manually by the core contributor team during a triage meeting. (Exception, triage may also be done offline by senior team members during high-volume times.)Needs-Author-Feedback tag.
Needs-Attention tag to get the core contribution team's attention again. If an author cares enough to be active, we will attempt to prioritize engaging with that author.No-Recent-Activity tag.No-Recent-Activity tag will automatically drop.No-Recent-Activity stays, the issue will be closed as stale.Needs-Author-Feedback tag when reviewers wait on the author
Needs-Author-Feedback tag will drop.No-Recent-Activity tag will appear.No-Recent-Activity tag exists for a while, the PR will be closed as stale.Resolution-Duplicate will be closed shortly after activity stopsAutoMerge will permit the bot to complete the PR and do cleanup when certain conditions are met. See details below.Write or Admin privileges on the repository can use these responses./dup #<issue ID>...Needs-* tagsResolution-DuplicateNeeds-Triage tag. Right now, this is just when it's opened.Needs-Author-Feedback gets an author response, drops that tag in favor of Needs-Attention to flag core contributors to drop by.No-Recent-Activity has activity, drops this tagNeeds-Author-Feedback and No-Recent-Activity for 3 days. Closes as stale.Needs-Author-Feedback. If it's been 4 days, mark No-Recent-Activity as well.Resolution-Duplicate and closes it if inactive.Needs-Tag-Fix. The system is to have an Area-, Issue-, and Product- tag for all open things, and also a Resolution- for closed ones.Needs-Tag-Fix tag.Resolution-Duplicate is sufficient to fix all tagging. (Area-, Issue-, and Product- are not needed for a duplicate.)/feedback...Needs-Author-Feedback tagIn-PR tag when a new PR is created, we will remove the Help-Wanted tag to avoid someone trying to work on an issue where another person has already submitted a proposed fix.Needs-Author-Feedback tag will be appliedNeeds-Author-Feedback tag is removed.No-Recent-Activity tag is removed.Needs-Author-Feedback and hasn't been touched in 7 days, it will get the No-Recent-Activity tag.No-Recent-Activity and hasn't been touched in a further 7 days, it will be closed.AutoMerge label...
AutoMerge label if changes are pushed by someone without Write Access.In-PR labelResolution-Fix-Committed labelNeeds-Second tag, the bot will remove the tag.