Skip to content

Commit

Permalink
add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj committed Apr 25, 2023
1 parent c162b4a commit 397a385
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale-issue-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'

on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Comment or this will be closed in 5 days.'
close-issue-message: 'This issue was automatically closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was automatically closed because it has been stalled for 5 days with no activity.'
days-before-stale: 60
days-before-close: 5
exempt-all-pr-assignees: true

0 comments on commit 397a385

Please sign in to comment.