Skip to content

Commit

Permalink
Create stale-issue-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj authored Apr 25, 2023
1 parent abebde0 commit a5178de
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/stale-issue-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: stale-issue-pr

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

permissions:
contents: write
issues: write
pull-requests: write

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
operations-per-run: 60

0 comments on commit a5178de

Please sign in to comment.