diff --git a/.github/ranger.yml b/.github/ranger.yml new file mode 100644 index 00000000..a756c666 --- /dev/null +++ b/.github/ranger.yml @@ -0,0 +1,25 @@ +# Configuration for the repo ranger bot +# See docs: https://www.notion.so/Documentation-8d7627bb1f3c42b7b1820e8d6f157a57#9879d1374fab4d1f9c607c230fd5123d +default: + close: + # Default time to wait before closing the label. Can either be a number in milliseconds + # or a string specified by the `ms` package (https://www.npmjs.com/package/ms) + delay: "3 days" + + # Default comment to post when an issue is first marked with a closing label + comment: "⚠️ This issue has been marked $LABEL and will be closed in $DELAY." + +labels: + duplicate: close + wontfix: close + "squash when passing": merge + "rebase when passing": merge + "merge when passing": merge + stale: + action: close + delay: 7 days + comment: "⚠️ This issue has been marked stale and will automatically be closed in $DELAY." + "new contributor": + action: comment + delay: 5s + message: "Thanks for making your first contribution! :slightly_smiling_face:"