From 68217e6dc5682bc02083b87c761d39de99cfab5e Mon Sep 17 00:00:00 2001 From: James James Date: Fri, 13 Aug 2021 04:21:15 +0100 Subject: [PATCH] Setup Oppiabot stale checks for Oppia Android (#3594) * Setup Oppiabot stale checks for Oppia Android * update codeowners * update days until close to 7 days --- .github/CODEOWNERS | 1 + .github/stale.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7c464fc0cfb..41877629563 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -45,6 +45,7 @@ gradlew.bat @BenHenning # CI configuration. /.github/actions/ @BenHenning /.github/workflows/ @BenHenning +/.github/stale.yml @BenHenning # All tests. *Test.kt @anandwana001 diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 00000000000..67b740e154b --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,31 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 7 + +# Number of days of inactivity before a stale Issue or Pull Request is closed. +# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. +daysUntilClose: 7 + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - [] + +# Label to use when marking as stale +staleLabel: stale + +# Comment to post when marking as stale. Set to `false` to disable. +# Here, @author is a special keyword and is automatically replaced +# by the bot, with the actual author of the pull request. +markComment: > + Hi @author, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. + If no further activity occurs within **3 days**, it will be automatically closed so that others can take up the issue. + + If you are still working on this PR, please make a follow-up commit within **3 days** (and submit it for review, if applicable). + Please also let us know if you are stuck so we can help you! + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 30 + +# Limit to only `issues` or `pulls` +only: pulls