Skip to content

Mark stale issues and pull requests #58

Mark stale issues and pull requests

Mark stale issues and pull requests #58

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.
#
# 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: '22 11 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
stale-issue-message: 'This issue has been automatically marked as stale due to a lack of recent activity. If you are still experiencing this problem or believe this issue is still relevant, please add a comment or update the issue to keep it open; otherwise it may be closed automatically.'
stale-pr-message: 'This pull request has been automatically marked as stale because there has been no recent activity. Please add a comment, push new commits, or otherwise update this PR if you would like it to remain open; otherwise it may be closed automatically.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'