Create stale.yml

Summary: Moving stale issue functionality from https://github.com/probot/stale to https://github.com/actions/stale

Reviewed By: jawwad

Differential Revision: D31517022

fbshipit-source-id: 59cd3c7840da0fcdd2baad51341fd3452d490ef4
This commit is contained in:
Jing Ping
2021-10-11 00:08:03 -07:00
committed by Facebook GitHub Bot
parent bfdff35eb3
commit c930e9b86b
2 changed files with 17 additions and 17 deletions

17
.github/stale.yml vendored
View File

@@ -1,17 +0,0 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels: []
# 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: >
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs.
Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
only: issues

17
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 5 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
close-issue-message: 'Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.'
stale-issue-message: 'Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.'
days-before-stale: 90
days-before-close: 7
enable-statistics: true
operations-per-run: 60