adds stale bot functionallity via action and removes the stalebot config (#2442)

This commit is contained in:
Nick Floyd
2022-05-10 16:36:37 -05:00
committed by GitHub
parent 8e800f29c6
commit 486c83a23e
2 changed files with 27 additions and 40 deletions
+27
View File
@@ -0,0 +1,27 @@
name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: >
'👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!'
stale-pr-message: >
'👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!'
days-before-stale: 270
days-before-close: 7
exempt-issue-labels: 'pinned, work-in-progress'
exempt-pr-labels: 'pinned, work-in-progress'