Closed dschaper closed 3 years ago
- do: stale
days: 20 # number of days ago.
type: pull_request, issues # what items to search for.
ignore_drafts: true # if set to true, the stale check will ignore draft items
ignore_milestones: true # if set to true, the stale check will ignore items that have an associated milestone
ignore_projects: true # if set to true, the stale check will ignore items that have an associated project
label: # optional property to filter the items that are actioned upon
match: ['label1_to_match', 'label2_to_match'] # only items with matching labels will be actioned upon and marked as stale
ignore: ['label1_to_ignore', 'label2_to_ignore'] # items with these labels will be ignored and not marked as stale
time_constraint: # Optional, run the validator only if it in within the time constraint
time_zone: 'America/Los_Angeles' # Optional, UTC time by default, for valid timezones see `here <https://momentjs.com/timezone/>`_
hours_between: ['9', '17'] # Optional, 24 hours by default, run only if [0] >= Hour Now <= [1]
days_of_week: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'] # Optional, 7 days a week by default, specific the days of the week in which to run the validator
Closing this in favor of using the actual Probot Stale since it has more features.
It can also run as a GitHub Action.
What does this PR aim to accomplish?:
Add Stale mergeable bot to Core and Web repos.