Giter VIP home page Giter VIP logo

Comments (3)

hiimbex avatar hiimbex commented on July 1, 2024 2

Historically, all the probot apps had their own configurations files with names related to what they did. More recently, as more apps get created, it seems kind of crazy to have so many configuration files. That's why I created all the behaviorbot apps to all use a .github/config.yml file.

I wouldn't be opposed to adding an optional config.yml to stale. (Obviously, we don't want to stop supporting use of a stale.yml) So we could check if either a stale.yml exists or a config.yml and make sure the config.yml contained:

stale:
  # Configuration for probot-stale - https://github.com/probot/stale

  # Number of days of inactivity before an Issue or Pull Request becomes stale
  daysUntilStale: 60
  # Number of days of inactivity before a stale Issue or Pull Request is closed
  daysUntilClose: 7
  # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
  exemptLabels:
    - pinned
    - security
  # Label to use when marking as stale
  staleLabel: wontfix
  # Comment to post when marking as stale. Set to `false` to disable
  markComment: >
    This issue has been automatically marked as stale because it has not had
    recent activity. It will be closed if no further activity occurs. Thank you
    for your contributions.
  # Comment to post when removing the stale label. Set to `false` to disable
  unmarkComment: false
  # Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable
  closeComment: false
  # Limit to only `issues` or `pulls`
  # only: issues

And essentially wrapping all the stale parameters in a stale object.

from stale.

tunnckoCore avatar tunnckoCore commented on July 1, 2024

Yep! Great :)

from stale.

hiimbex avatar hiimbex commented on July 1, 2024

Closing this out in favor of probot/probot#258 which is an overarching discussion for handling configurations in probot apps. Any further feedback should go there, thanks!

from stale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.