Skip to content

Mark stale issues and pull requests #614

Mark stale issues and pull requests

Mark stale issues and pull requests #614

Workflow file for this run

# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# It should run at 9am EST (if I did the UTC date math right)
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 16 * * *'
jobs:
stale:
runs-on: ubuntu-22.04
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 14
days-before-issue-close: 10
stale-issue-label: 'stale'
stale-issue-message: 'This issue is stale due to inactivity. Please let us know if you are still encountering issues, otherwise this issue will automatically close in 10 days.'
close-issue-message: 'This issue has seen no updates in the past 14 days and will now be closed. Please open a new issue if you wish to report an update.'
exempt-issue-labels: 'evergreen'
days-before-pr-stale: 16
days-before-pr-close: 14
stale-pr-message: 'This PR has not seen any updates in the last 16 days. Without further action this PR will be closed in 14 days. To disable further staleness checks add the `evergreen` label.'
close-pr-message: 'This PR has seen no updates in the past 30 days and will now be closed. Restore the branch and create a new PR if you wish to continue work.'
stale-pr-label: 'stale'
exempt-pr-labels: 'evergreen'
operations-per-run: 300