Stale #128
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
| # Z-Image - Stale Issues and PRs | |
| # | |
| # Automatically marks and closes stale issues and PRs | |
| name: Stale | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Run daily at midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Manage Stale Items | |
| 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 any activity for 30 days. | |
| It will be closed in 7 days if no further activity occurs. | |
| If this issue is still relevant: | |
| - Add a comment with any updates | |
| - Remove the `stale` label | |
| close-issue-message: | | |
| This issue has been closed due to inactivity. | |
| Feel free to reopen if this is still relevant. | |
| stale-issue-label: 'stale' | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 7 | |
| # PR settings | |
| stale-pr-message: | | |
| This PR has been automatically marked as stale because it has not had any activity for 14 days. | |
| It will be closed in 7 days if no further activity occurs. | |
| If this PR is still in progress: | |
| - Push new commits or add a comment | |
| - Remove the `stale` label | |
| close-pr-message: | | |
| This PR has been closed due to inactivity. | |
| Feel free to reopen when ready to continue. | |
| stale-pr-label: 'stale' | |
| days-before-pr-stale: 14 | |
| days-before-pr-close: 7 | |
| # Exempt labels | |
| exempt-issue-labels: 'pinned,security,help wanted' | |
| exempt-pr-labels: 'pinned,security,work in progress' | |
| # Other settings | |
| remove-stale-when-updated: true | |
| delete-branch: false |