Skip to content

Commit

Permalink
feat: add stale PR action
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Kumar <[email protected]>
  • Loading branch information
kyteinsky committed Feb 3, 2024
1 parent 93f664a commit 52e4213
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale issues'
on:
schedule:
- cron: '0 7 * * *'

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
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
days-before-pr-stale: -1
days-before-pr-close: -1
exempt-all-pr-assignees: true
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 52e4213

Please sign in to comment.