Skip to content

Commit

Permalink
Create close-stale.yml (#471)
Browse files Browse the repository at this point in the history
## Summary

Add GH Action to close all of the stale issues/PRs – there are many in which we're waiting for the response from the author etc.
  • Loading branch information
RafikiTiki authored Dec 4, 2023
1 parent 3368135 commit e1e1927
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
close_stale_prs:
runs-on: ubuntu-latest
steps:
- name: Close stale pull requests
uses: actions/stale@v5
with:
days-before-stale: 30
days-before-pr-close: 60
days-before-close: 14
stale-issue-message: 'This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.'
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for 60 days. Please update this pull request or it will be automatically closed in 14 days.'
close-issue-message: 'This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.'
close-pr-message: 'This pull request has been automatically closed because it has been inactive for more than 14 days. Please reopen if you still intend to submit this pull request.'
stale-pr-label: stale
stape-issue-label: stale

0 comments on commit e1e1927

Please sign in to comment.