summary refs log tree commit diff
path: root/.github/stale.yml
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-11-14 22:11:32 -0800
committerRyan Mulligan <ryan@ryantm.com>2019-11-14 22:11:32 -0800
commitdc4339dc26089b72748b247908b5c95862771a6b (patch)
treebebe44c3137c16398b45461a891340842459287e /.github/stale.yml
parentdafbcb986ab850fb68f8edd6defca2b3c9b0857f (diff)
downloadnixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar.gz
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar.bz2
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar.lz
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar.xz
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.tar.zst
nixpkgs-dc4339dc26089b72748b247908b5c95862771a6b.zip
Add configuration for GitHub stale bot
The configuration added is taken from RFC 0051, and is the first step
toward implementing it. Next, we will have to enable the stale bot by
installing the GitHub application.

https://github.com/NixOS/rfcs/blob/master/rfcs/0051-mark-stale-issues.md
Diffstat (limited to '.github/stale.yml')
-rw-r--r--.github/stale.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644
index 00000000000..bf47ba3c25b
--- /dev/null
+++ b/.github/stale.yml
@@ -0,0 +1,32 @@
+# Number of days of inactivity before an issue becomes stale
+daysUntilStale: 180
+# Number of days of inactivity before a stale issue is closed
+daysUntilClose: false
+# Issues with these labels will never be considered stale
+exemptLabels:
+  - 1.severity: security
+# Label to use when marking an issue as stale
+staleLabel: 2.status: stale
+# Comment to post when marking an issue as stale. Set to `false` to disable
+markComment: >
+  Thank you for your contributions.
+
+  This has been automatically marked as stale because it has had no
+  activity for 180 days.
+
+  If this is still important to you, we ask that you leave a
+  comment below. Your comment can be as simple as "still important
+  to me". This lets people see that at least one person still cares
+  about this. Someone will have to do this at most twice a year if
+  there is no other activity.
+
+  Here are suggestions that might help resolve this more quickly:
+
+  1. Search for maintainers and people that previously touched the
+     related code and @ mention them in a comment.
+  2. Ask on the [NixOS Discourse](https://discourse.nixos.org/).
+  3. Ask on the [#nixos channel](irc://irc.freenode.net/#nixos) on
+     [irc.freenode.net](https://freenode.net).
+
+# Comment to post when closing a stale issue. Set to `false` to disable
+closeComment: false