probot / stale

A GitHub App built with Probot that closes abandoned Issues and Pull Requests after a period of inactivity.
https://probot.github.io/apps/stale/
ISC License
1.25k stars 212 forks source link

Run Stale without stale.yml #264

Closed the21st closed 4 years ago

the21st commented 4 years ago

Hi! I wanted to add Stale to our org, but we have tens of repos and it's too much effort adding the stale.yml config file to each one. Could Stale work off a default setting for all org repos?

I really liked the onboarding of https://probot.github.io/apps/delete-merged-branch/ where I just added it and it automatically works for all repos.

diwakergupta commented 4 years ago

I'm interested in this as well. Per the documentation at https://probot.github.io/docs/best-practices/#store-configuration-in-the-repository, it should work:

If configuration for your app is not available in the target repository, it will be loaded from the .github directory of the target organization's .github repository.

I'm going to try this and see if it actually does. @the21st would appreciate if you could give that a spin too.

Probot
Best practices
GitHub Apps to automate and improve your workflow
rthadur commented 4 years ago

@diwakergupta were you able to run this successfully , I want to include stale.yml file in current project(in local storage).

stale[bot] commented 4 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?