Most PRs marked as recently updated in sort by 'sort:updated-desc', but no recent changes #185092
Replies: 2 comments
-
|
GitHub’s “updated” sort is based on the PR’s updated_at timestamp, which can change even when you don’t see an obvious new commit or comment. Background events like branch protection/ruleset changes, CI/checks being re-run or re-synced, metadata/index refreshes, or other internal maintenance can bump updated_at for many PRs at once, making them look “recently updated” without visible activity in the PR timeline. Unfortunately there’s nothing you can do on the repo side to fully prevent this because it’s driven by GitHub’s backend, but you can reduce confusion by filtering for true activity (e.g., review/comment activity, “updated by” signals in the timeline) or by tracking activity via the API/webhooks (issue_comment, pull_request_review, pull_request synchronize events) rather than relying solely on sort:updated-desc. |
Beta Was this translation helpful? Give feedback.
-
|
Hey, Branch protection rule changes - If someone modified branch protection settings, it can trigger updates across PRs How to prevent this (sort of): Filter by "recently updated by author" - Use search filters like: is:pr is:open sort:updated-desc -author:app/github-actions Use review status as a proxy - Sort by PRs that have recent comments or reviews instead: is:pr is:open sort:comments-desc Set up a bot - You could create a GitHub Action that adds labels like "recently-modified" based on actual PR changes rather than base branch updates. To confirm this is what happened: Hope this clears things up! It's definitely annoying for triage, but at least it's not a bug. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I like the sorting by last update to find PRs with recent activity.
On Jan 23, 2026 at 11:50 PM CET (GMT +1) most of our PRs were marked as modified, see:
https://github.com/openwrt/openwrt/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc
The PRs are listed as modified at this time, but when looking into them there is no recent modification.
The project audit log only list this commit at the time: openwrt/openwrt@8dec720
Why are they marked as modified at this date?
How do we prevent this from happening again?
Beta Was this translation helpful? Give feedback.
All reactions