chore: add stale PR workflow#1138
Merged
Merged
Conversation
a406201 to
78f2087
Compare
Adds .github/workflows/close-stale-prs.yaml to mark PRs as stale after 7 days of inactivity and close them 7 days later. Draft PRs are exempt. This keeps the PR queue clean as AI agent throughput increases. Adds .github/actionlint.yaml to declare ubuntu-slim as a known self-hosted runner label, silencing the actionlint runner-label warning. Ticket: AI-595 Session-Id: 0b91aa81-3ac0-4542-9279-6c56f778d001 Task-Id: dc650354-37d7-49f1-a77f-25aa8d4ea0f9
5b610c7 to
17af8e9
Compare
ericcrosson-bitgo
approved these changes
Jun 25, 2026
starfy84
approved these changes
Jun 25, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
.github/workflows/close-stale-prs.yamltoBitGo/api-tsWhy
How it works
Uses
actions/stale@v10on a nightly cron schedule. PRs with no activity for 7 days are labeledstale; if there is still no activity after another 7 days, they are closed. Draft PRs are exempt. Issue staleness is disabled.Test plan
workflow_dispatchtrigger allows manual runs to verify the action worksCloses AI-593 (partial).
Ticket: AI-595