Stale Issues #158
This file contains hidden or 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
| name: Stale Issues | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Run daily at midnight | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Mark Stale Issues and PRs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Mark stale issues and PRs | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Issue settings | |
| stale-issue-message: | | |
| This issue has been automatically marked as stale because it has not had recent activity. | |
| It will be closed in 14 days if no further activity occurs. | |
| If this issue is still relevant: | |
| - Add a comment to keep it open | |
| - Add the `pinned` label to prevent auto-closing | |
| Thank you for your contributions! | |
| stale-issue-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,bug,help wanted,good first issue' | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 14 | |
| # PR settings | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had recent activity. | |
| It will be closed in 14 days if no further activity occurs. | |
| If you're still working on this: | |
| - Push new commits or add a comment | |
| - Add the `in-progress` label | |
| Thank you for your contributions! | |
| stale-pr-label: 'stale' | |
| exempt-pr-labels: 'pinned,in-progress,dependencies' | |
| days-before-pr-stale: 45 | |
| days-before-pr-close: 14 | |
| # General settings | |
| operations-per-run: 100 | |
| remove-stale-when-updated: true | |
| ascending: true |