diff --git a/src/Command/MergeCommand.php b/src/Command/MergeCommand.php index b7400ca..1aaf543 100644 --- a/src/Command/MergeCommand.php +++ b/src/Command/MergeCommand.php @@ -66,7 +66,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int $io = new SymfonyStyle($input, $output); $io->title(sprintf( - 'Merge pull requests with "%s" label (ignoring label: %s)', + 'Scanning "%s" for "%s" label (ignoring label: %s)', + $config->repository(), $config->label(), $config->ignoreLabel() )); @@ -84,14 +85,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int foreach ($pullRequests as $pullRequest) { if ($pullRequest->updatedWithinTheLast60Seconds()) { - if ($io->isVerbose()) { - $io->info('Skip very new PRs to ignore workflow delay'); - } - - continue; - } - - if (true === $pullRequest->isMergeable() && $pullRequest->isCleanBuild()) { + $io->write('[SKIPPED] '); + } elseif (true === $pullRequest->isMergeable() && $pullRequest->isCleanBuild()) { if ($config->isDryRun()) { $io->write('[READY] '); } else {