name: Mark stale issues and pull requests
on:
schedule:
- cron: '28 22 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue has been automatically marked as stale because there has been no recent activity. It will be closed if no further activity occurs.
If you believe this issue is still relevant, please add a comment or reaction to prevent it from being closed.
stale-pr-message: |
This pull request has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs.
If you intend to merge this pull request, please add a comment or merge it.
stale-issue-label: no-issue-activity
stale-pr-label: no-pr-activity