Try safe stale

This commit is contained in:
Laurent Destailleur 2020-03-10 12:01:55 +01:00
parent 29e1012dba
commit 9c683fb951

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

@ -0,0 +1,22 @@
# See syntax file on https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: "Close stale issues (bugs and feature requests)"
on:
schedule:
- cron: "0 21 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: DeMoorJasper/stale@v2.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-message: 'This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 15 days.'
stale-label: 'Issue Stale (automatic label)'
exempt-label: 'Priority High / Blocking'
days-before-stale: 365
days-before-close: 15
operations-per-run: 50
dry-run: true