Conversation
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
/review |
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This workflow configuration looks good. The debug mode is intentionally enabled as documented in the PR description, which is a safe approach for initial deployment.
One minor consideration for future optimization: the operations-per-run: 30 limit processes up to 30 items per day. If the repository accumulates many stale issues/PRs, you may want to increase this value (e.g., 100-300) to ensure timely processing. The current value is the recommended default and should work fine for most cases.
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
|
Will merge at the start of next week to prevent any issues happening over the weekend. |
Description
This PR adds a GitHub Actions workflow to automatically mark and close stale issues and PRs, helping maintainers focus on active items. The old app/bot stopped working around mid 2025 and was disabled. This reimplements it using a GitHub Action with additional slash command functionality.
Timeframes
Exempt Labels
Issues and PRs with any of these labels will never be marked as stale:
kind/help-wantedstatus/need-more-infostatus/needs-analysislifecycle/frozenHow to Keep Issues/PRs Active
To prevent an issue or PR from being marked as stale or closed:
Anyone can:
/lifecycle active- removes the stale label via slash commandMaintainers can also:
3. Use
/lifecycle frozen- prevents the issue/PR from ever being marked stale4. Add exempt labels - manually apply one of the labels listed above
5. Make any update - editing the description, adding labels, or any activity resets the timer
Slash Commands
The workflow supports these lifecycle commands (comment them on any issue/PR):
/lifecycle active/lifecycle frozen/lifecycle stale/remove-lifecycle frozen/remove-lifecycle staleCommands respond with a 👍 reaction when successful, 👎 when permission is denied.
Messages
When marked as stale, issues and PRs receive a friendly comment explaining:
/lifecycle active/lifecycle frozenDebug Mode
The workflow is currently set to debug mode for both components:
Stale action (
debug-only: true):Lifecycle commands (
DEBUG_ONLY: 'true'):Related issues