diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d0e281d..d60d89c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,13 +2,10 @@ name: "Manage Stale PRs" on: schedule: - # Run every day at 1:30 AM UTC - cron: '30 1 * * *' - # Allows you to run this workflow manually from the Actions tab for testing workflow_dispatch: permissions: - # Required to allow the bot to label and close items pull-requests: write issues: write @@ -18,24 +15,34 @@ jobs: steps: - uses: actions/stale@v9 with: - # --- Pull Request Settings --- - - # Days inactive before marking as stale (Your request: 30) + # Timing settings days-before-pr-stale: 21 - - # Days inactive after labeling before closing (Your request: 10) days-before-pr-close: 7 - # The message posted when marking as stale - stale-pr-message: 'This Pull Request has been automatically marked as stale. It will be closed in 10 days if no further activity occurs.' + # The "Friendly Info" message (posted when 30 days of inactivity pass) + stale-pr-message: > + This Pull Request has been inactive for 21 days. To keep our + queue manageable, we mark older PRs as stale. This doesn't mean the + work isn't appreciated. It's often just a matter of timing or current + project focus. + + We’ll leave this open for another 7 days in case you have final + thoughts, but otherwise, it will be closed automatically to keep + things tidy. - # The message posted when closing - close-pr-message: 'This Pull Request was automatically closed because it has been stalled for 10 days with no activity.' + # The closing message + close-pr-message: > + This Pull Request has been automatically closed. As mentioned before, + this doesn't mean the content is lost! Your work is archived here and + may be referenced or reused in the future when it fits the project + roadmap better. + + If you feel this is still a priority, feel free to comment or reopen + when you're ready to continue. Thank you! - # The label to apply (make sure this label exists, or the bot will create it) + # Label settings stale-pr-label: 'stale' - # --- Issue Settings (Disabled) --- - # Set to -1 to ignore Issues and only focus on PRs + # Settings to ignore Issues days-before-issue-stale: -1 days-before-issue-close: -1 \ No newline at end of file