Add configuration for Github stale action

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
Mudit Agarwal 2020-10-28 11:07:54 +05:30 committed by John Mulligan
parent b756c84956
commit 5f107f3f5e
1 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,17 @@
name: "Stale issue handler"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contribution.'
days-before-stale: 30
days-before-close: 14
only-labels: 'question'