Skip to content

Commit

Permalink
Add action to close stale issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Apr 19, 2024
1 parent e0946f3 commit 812ddad
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
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 5 days.'
days-before-stale: 30
days-before-close: 5
only-issue-labels: 'S: awaiting response'

0 comments on commit 812ddad

Please sign in to comment.