Skip to content

Mark stale issues and pull requests #51

Mark stale issues and pull requests

Mark stale issues and pull requests #51

# 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: '30 1 * * *'
push:
branches:
- release/2.6
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: none
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.'
stale-issue-label: 'stale'
close-issue-reason: 'completed'
exempt-issue-labels: 'bug, feature request, good first issue'
operations-per-run: 900
days-before-pr-stale: -1
days-before-pr-close: -1
ascending: true