Skip to content

Close Stale Pull Requests #163

Close Stale Pull Requests

Close Stale Pull Requests #163

name: Close Stale Pull Requests
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:
stale-issue-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.'
days-before-stale: 14
days-before-close: 0
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 14 days. Please update this pull request or it will be automatically closed in 7 days.'
stale-pr-label: stale