2023-08-04 22:13:05 +00:00
|
|
|
name: Close incomplete issues
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '30 1 * * *' # run every day
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
2024-04-26 15:05:25 +00:00
|
|
|
if: github.event_name == 'workflow_dispatch' || github.repository == 'nuxt/nuxt'
|
2023-08-04 22:13:05 +00:00
|
|
|
steps:
|
2023-12-07 20:47:13 +00:00
|
|
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
2023-08-04 22:13:05 +00:00
|
|
|
with:
|
|
|
|
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
|
|
|
|
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale.
|
|
|
|
only-labels: 'needs reproduction' # Only process these issues
|
|
|
|
days-before-issue-close: 7
|
|
|
|
ignore-updates: true
|
|
|
|
remove-stale-when-updated: false
|
|
|
|
close-issue-message: This issue was closed because it was open for 7 days without a reproduction.
|
|
|
|
close-issue-label: closed-by-bot
|
2023-08-08 15:15:22 +00:00
|
|
|
operations-per-run: 300 #default 30
|