Skip to content

Commit

Permalink
chore: cleans up older non-reprodusable issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Jan 14, 2025
1 parent b5c7213 commit 61a8281
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/close-no-repro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Close old issues with no-reproduction label

on:
schedule:
# 08:00 every monday
- cron: 0 8 * * 1

jobs:
find-issues:
name: Search and destroy

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
only-issue-labels: ⁉️ no-reproduction
days-before-issue-stale: 2
days-before-issue-close: 7
stale-issue-label: "stale"
stale-issue-message: "This issue is stale as it has been open for 21 days while being labeled with 'no-reproductuion'."
close-issue-message: "This issue was closed because it has been stale for 7 days."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 61a8281

Please sign in to comment.