mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
f656f906ff
update days-before-issue-stale to 90 days
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
name: 'Close stale issues and PRs'
|
|
#on: [workflow_dispatch]
|
|
on:
|
|
schedule:
|
|
- cron: '30 1 * * *'
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
#debug-only: true
|
|
ascending: true
|
|
operations-per-run: 520
|
|
enable-statistics: true
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: 'This issue is being marked stale because it has been open for 90 days without activity. If you feel that this is in error, please comment below and we will keep it marked as active.'
|
|
stale-pr-message: 'This PR is being marked stale because it has been open for 45 days without activity. If this PR is still active, please comment below and we will keep it marked as active.'
|
|
close-issue-message: 'This issue has been marked stale for more than 10 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 10 days without activity. Closing this PR, but if you are still working on it, please reopen.'
|
|
days-before-issue-stale: 90
|
|
days-before-pr-stale: 45
|
|
days-before-issue-close: 10
|
|
days-before-pr-close: 10
|