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

Can Bot ignore the issue that already been closed? #280

Closed nICEnnnnnnnLee closed 3 years ago

nICEnnnnnnnLee commented 4 years ago

My Configuration:

# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
  - pinned
  - pending
# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false
# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  这个问题已经14天没有状态更新,7天后它将自动关闭。
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
  由于长期没有状态更新,该问题自动关闭。如有需要可重新打开。
nICEnnnnnnnLee commented 4 years ago

The bot add stale label and leave comment to the manualy closed issues, which is not i want.

nICEnnnnnnnLee commented 4 years ago

I do not hope the bot to do anything with the old closed ones; I'm looking for some config like exemptStatus: closed.
Help me, please. orz

nICEnnnnnnnLee commented 4 years ago

Well... I'm quite confused about the bot's behavior.

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?

markdorison commented 4 years ago

I am experiencing this as well where an issue that is already closed is then labeled as stale by the bot.

I noticed that the most recent commit on the master branch is related to double-checking whether an issue is closed. Could it be possible something is still slipping through?

stale[bot] commented 3 years ago

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