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

Commit 15ffe3d

Browse files
authored
Merge pull request #82 from Kobzol/strict-status-checks
Disable "Require branches to be up-to-date" for branch protections
2 parents dffaba4 + 33eb783 commit 15ffe3d

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
@@ -431,7 +431,9 @@ impl GitHubWrite {
431431
{id_field}: $id,
432432
pattern: $pattern,
433433
requiresStatusChecks: true,
434-
requiredStatusCheckContexts: $contexts,
434+
requiredStatusCheckContexts: $contexts,
435+
# Disable 'Require branch to be up-to-date before merging'
436+
requiresStrictStatusChecks: false,
435437
isAdminEnforced: true,
436438
requiredApprovingReviewCount: $reviewCount,
437439
dismissesStaleReviews: $dismissStale,

0 commit comments

Comments
 (0)