Skip to content

chore: add stale PR workflow#1138

Merged
ericcrosson-bitgo merged 1 commit into
masterfrom
ai-595-add-stale-pr-workflow
Jun 25, 2026
Merged

chore: add stale PR workflow#1138
ericcrosson-bitgo merged 1 commit into
masterfrom
ai-595-add-stale-pr-workflow

Conversation

@bitgo-ai-agent-dev

@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot commented Jun 25, 2026

Copy link
Copy Markdown

What

  • Adds .github/workflows/close-stale-prs.yaml to BitGo/api-ts

Why

  • PRs without activity accumulate and get lost as AI agent throughput increases. This workflow marks PRs stale after 7 days of inactivity and closes them 7 days later, keeping the PR queue manageable. Requested in AI-593.

How it works

Uses actions/stale@v10 on a nightly cron schedule. PRs with no activity for 7 days are labeled stale; if there is still no activity after another 7 days, they are closed. Draft PRs are exempt. Issue staleness is disabled.

Test plan

  • Workflow file is valid YAML and passes CI lint checks
  • workflow_dispatch trigger allows manual runs to verify the action works

Closes AI-593 (partial).

Ticket: AI-595

@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

AI-593

AI-595

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
@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot force-pushed the ai-595-add-stale-pr-workflow branch 2 times, most recently from 5b610c7 to 17af8e9 Compare June 25, 2026 16:38
@ericcrosson-bitgo ericcrosson-bitgo marked this pull request as ready for review June 25, 2026 19:00
@ericcrosson-bitgo ericcrosson-bitgo requested a review from a team as a code owner June 25, 2026 19:00
@ericcrosson-bitgo ericcrosson-bitgo merged commit 49eaa0a into master Jun 25, 2026
6 checks passed
@ericcrosson-bitgo ericcrosson-bitgo deleted the ai-595-add-stale-pr-workflow branch June 25, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants