Issue Stale #330
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from vercel/next.js | |
name: Issue Stale | |
on: | |
workflow_dispatch: | |
schedule: | |
# This runs every day 20 minutes before midnight: https://crontab.guru/#40_23_*_*_* | |
- cron: "40 23 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'shadcn-ui' | |
steps: | |
- uses: actions/stale@v4 | |
id: stale-no-repro | |
name: "Close stale issues with no reproduction" | |
with: | |
repo-token: ${{ secrets.STALE_TOKEN }} | |
close-issue-message: "This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please reopen or leave a comment. Thank you.\n(This is an automated message.)" | |
days-before-issue-close: 7 | |
days-before-issue-stale: 30 | |
stale-pr-label: "stale?" | |
days-before-pr-close: 7 | |
days-before-pr-stale: 15 | |
only-pr-labels: "postpone: more info or changes requested,please add a reproduction" | |
exempt-issue-labels: "roadmap,next,bug" | |
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close |