Create stale-issues.yml

This commit is contained in:
Laurent Destailleur 2020-02-10 02:14:23 +01:00 committed by GitHub
parent 9c4ba1c5d2
commit 1728fff247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,17 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 1 year with no activity. Please remove the stale label or add a comment on issue if you don t have permissions on labels, or this issue will be closed in 10 days.'
stale-issue-label: 'Bug Stale (automatic label)'
exempt-issue-label: 'Bug Security (CVE)'
days-before-stale: 365
days-before-close: 10