[PR #11310] ci: fixed stale pr workflow #13734

Closed
opened 2026-02-16 18:18:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11310

State: closed
Merged: Yes


The stale PR workflow didn’t actually worked since the stale check used last_updated field which didn’t reflect the actual last activity.

The ‘dev’ branch is frequently forced pushed and it registers as activity on the PRs that target it. (Base branch is considered updated).

image

This PR changes the logic of the stale PR check to use:

  • Last commit date
  • Last comment date
  • PR creation date
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11310 **State:** closed **Merged:** Yes --- The stale PR workflow didn’t actually worked since the stale check used `last_updated` field which didn’t reflect the actual last activity. The ‘dev’ branch is frequently forced pushed and it registers as activity on the PRs that target it. (Base branch is considered updated). <img width="603" height="230" alt="image" src="https://github.com/user-attachments/assets/58bba8c5-5bc3-430b-9bb9-81c3757ccaa0" /> This PR changes the logic of the stale PR check to use: - Last commit date - Last comment date - PR creation date
yindo added the pull-request label 2026-02-16 18:18:34 -05:00
yindo closed this issue 2026-02-16 18:18:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13734