# 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: "2 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:"
  extension-request:
    action: close
    delay: 5s
    comment: >
      Thanks for opening an extension request!
      We are currently in the process of switching extension
      marketplaces and transitioning over to [Open VSX](https://open-vsx.org/).
      Once https://github.com/eclipse/openvsx/issues/249 is implemented, we
      can fully make this transition. Therefore, we are no longer accepting
      new requests for extension requests. We suggest installing the VSIX
      file and then installing into code-server as a temporary workaround.
      See [docs](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#installing-vsix-extensions-via-the-command-line) for more info.
  "upstream:vscode":
    action: close
    delay: 5s
    comment: >
      This issue has been marked as 'upstream:vscode'.
      Please file this upstream: [link to open issue](https://github.com/microsoft/vscode/issues/new/choose)

      This issue will automatically close in $DELAY.
