Skip to content

Commit

Permalink
Add stale action
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Jan 18, 2024
1 parent 281ff0d commit a799e49
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close stale issues'
on:
workflow_dispatch: null
schedule:
- cron: '0 0 * * *'

jobs:
stale:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-issue-label: 'wontfix'
exempt-issue-labels: 'help wanted'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
days-before-issue-stale: 30
days-before-issue-close: 7

0 comments on commit a799e49

Please sign in to comment.