public PullRequestMergeRetryier( ILogger <PullRequestMergeRetryier> logger, IOptionsMonitor <AutomergeBotConfiguration> cfg, IMergePerformer mergePerformer) { _logger = logger; _cfg = cfg.CurrentValue; _mergePerformer = mergePerformer; }
public MergingBranchesPushHandler(ILogger <MergingBranchesPushHandler> logger, IMergeDirectionsProvider mergeDirectionsProvider, IMergePerformer mergePerformer, IProcessPushPredicate processPushPredicate, IPullRequestMergeRetryier pullRequestMergeRetryier, IRepositoryConnectionProvider repositoryConnectionProvider) { _logger = logger; _mergeDirectionsProvider = mergeDirectionsProvider; _mergePerformer = mergePerformer; _processPushPredicate = processPushPredicate; _pullRequestMergeRetryier = pullRequestMergeRetryier; _repositoryConnectionProvider = repositoryConnectionProvider; }