Skip to content

Mark stale issues

Mark stale issues #787

Workflow file for this run

name: Mark stale issues
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
name: Close stale issues and PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
"Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog,
we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏"
close-issue-message: "Hello 👋, this issue has been inactive for over 90 days and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏"
stale-issue-label: "stale"
exempt-issue-labels: "untriaged, enhancement" # Comma-separated list of labels.
days-before-stale: 90
days-before-close: 7
# Config for PRs
stale-pr-label: "stale"
close-pr-message: >
"Hello 👋, this PR has been inactive for over 9 months. To help maintain a clean and focused backlog,
we'll be marking this PR as stale and will close the PR if we detect no activity in the next 14 days. Thank you for your contribution and understanding! 🙏"
exempt-pr-labels: 'review-needed,work-in-progress'
enable-statistics: "true"
days-before-pr-stale: 270
days-before-pr-close: 14
ascending: true # https://github.com/actions/stale#ascending
operations-per-run: 500
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
"Hello 👋, this feature request has been inactive for over 9 months. To help maintain a clean and focused backlog,
we'll be marking this issue as stale and will close the issue if we detect no activity in the next 14 days. Thank you for your contribution and understanding! 🙏"
close-issue-message: "Hello 👋, This issue has been inactive for over 9 months and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏"
stale-issue-label: "stale"
only-labels: "enhancement"
enable-statistics: "true"
days-before-stale: 270
days-before-close: 14
ascending: true
operations-per-run: 500