Stale Issues and PRs #48
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 and PRs | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Run daily at midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Mark Stale | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Mark stale issues and PRs | |
| uses: actions/stale@v9 | |
| 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 with an update | |
| - Remove the `stale` label | |
| Thank you for your contributions to python-quality-orb! | |
| stale-issue-label: 'stale' | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 14 | |
| exempt-issue-labels: 'pinned,security,bug,enhancement' | |
| # 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 this PR is still relevant: | |
| - Rebase onto the latest main branch | |
| - Address any review comments | |
| - Remove the `stale` label | |
| Thank you for your contributions to python-quality-orb! | |
| stale-pr-label: 'stale' | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 14 | |
| exempt-pr-labels: 'pinned,security,work-in-progress' | |
| # General settings | |
| operations-per-run: 100 | |
| remove-stale-when-updated: true | |
| delete-branch: false |