nushell/.github/workflows/stale.yml

29 lines
982 B
YAML
Raw Normal View History

2021-06-24 01:30:19 +02:00
name: 'Close stale issues and PRs'
#on: [workflow_dispatch]
on:
schedule:
- cron: '30 1 * * *'
2021-06-24 01:30:19 +02:00
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
2023-01-16 03:05:35 +01:00
- uses: actions/stale@v6
2021-06-24 01:30:19 +02:00
with:
#debug-only: true
ascending: true
operations-per-run: 520
2021-06-24 01:30:19 +02:00
enable-statistics: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
2021-10-31 04:48:58 +01:00
close-issue-message: 'This issue has been marked stale for more than 100000 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen.'
close-pr-message: 'This PR has been marked stale for more than 100 days without activity. Closing this PR, but if you are still working on it, please reopen.'
days-before-issue-stale: 90
2021-06-24 01:30:19 +02:00
days-before-pr-stale: 45
2021-10-31 04:48:58 +01:00
days-before-issue-close: 100000
days-before-pr-close: 100
exempt-issue-labels: 'exempt,keep'