File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
.github/workflows/src/summarize-checks Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -785,7 +785,12 @@ export async function getCheckRunTuple(
785
785
} ) ;
786
786
787
787
if ( branchRules ) {
788
- requiredCheckNames = getRequiredChecksFromBranchRuleOutput ( branchRules ) ;
788
+ requiredCheckNames = getRequiredChecksFromBranchRuleOutput ( branchRules ) . filter (
789
+ // "Automated merging requirements met" may be required in repo settings, to ensure PRs cannot be merged unless
790
+ // it's passing. However, it must be excluded from our list of requiredCheckNames, since it's status is set
791
+ // by our own workflow. If this check isn't excluded, it creates a deadlock where it can never be set.
792
+ ( checkName ) => checkName !== AUTOMATED_CHECK_NAME ,
793
+ ) ;
789
794
}
790
795
} else {
791
796
requiredCheckNames = [ "Summarize PR Impact" , "[TEST-IGNORE] Summarize PR Impact" ] ;
You can’t perform that action at this time.
0 commit comments