Skip to content

Commit

Permalink
ci: set up stale github action for issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Feb 1, 2024
1 parent cd2263f commit c687368
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
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-issue-stale: 30
days-before-pr-stale: -1
days-before-issue-close: 5
days-before-pr-close: -1
stale-issue-labe: 'stale'

0 comments on commit c687368

Please sign in to comment.