Skip to content

Close stale issues and PRs #342

Close stale issues and PRs

Close stale issues and PRs #342

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
# only run this action on `vechain/thor` repository
if: github.repository == 'vechain/thor'
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This pull request has been marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.'
days-before-issue-stale: 90
days-before-pr-stale: 60
days-before-close: 7
stale-issue-label: 'stale'