Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 33eb783

Browse files
committed
Disable "Require branches to be up-to-date" for branch protections
1 parent a1a6e75 commit 33eb783

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/github/api/write.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,9 @@ impl GitHubWrite {
429429
{id_field}: $id,
430430
pattern: $pattern,
431431
requiresStatusChecks: true,
432-
requiredStatusCheckContexts: $contexts,
432+
requiredStatusCheckContexts: $contexts,
433+
# Disable 'Require branch to be up-to-date before merging'
434+
requiresStrictStatusChecks: false,
433435
isAdminEnforced: true,
434436
requiredApprovingReviewCount: $reviewCount,
435437
dismissesStaleReviews: $dismissStale,

0 commit comments

Comments
 (0)