ci: add stale workflow (#3029)

This commit is contained in:
Ammar Bandukwala
2022-07-18 19:34:04 +00:00
committed by GitHub
parent 54cf677e80
commit 5919e96ac2
2 changed files with 13 additions and 12 deletions
-12
View File
@@ -1,12 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Label to apply when stale.
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no activity occurs in the next 5 days.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+13
View File
@@ -0,0 +1,13 @@
name: Stale Issue Cron
on:
schedule:
# Every day at midnight
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
stale:
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5.1.0