Skip to content

Commit

Permalink
Create reproduire-close.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser authored Feb 23, 2024
1 parent fcf281a commit 35fe3f5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/reproduire-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Close incomplete issues
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *' # run every day

permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
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: 14
ignore-updates: true
remove-stale-when-updated: false
close-issue-message: This issue was closed because it was open for 14 days without a reproduction.
close-issue-label: closed-by-bot
operations-per-run: 300 #default 30

0 comments on commit 35fe3f5

Please sign in to comment.