We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_merge_queue_prs
1 parent 4797781 commit 4656d6bCopy full SHA for 4656d6b
src/database/operations.rs
@@ -988,6 +988,10 @@ pub(crate) async fn delete_auto_build(
988
.await
989
}
990
991
+/// Fetches pull requests eligible for merge:
992
+/// - Only approved PRs that are open and mergeable
993
+/// - Excludes PRs with failed/cancelled/timed-out auto builds
994
+/// - Excludes PRs that do not meet the tree closure priority threshold (if tree closed)
995
pub(crate) async fn get_merge_queue_prs(
996
executor: impl PgExecutor<'_>,
997
repo: &GithubRepoName,
0 commit comments