diff --git a/controllers/merge.php b/controllers/merge.php index fd91e4eed643918ea7e0645e8e9c8815562dddc7..9ad0002915b53ea5fcd4b61205aa05ba8d999463 100644 --- a/controllers/merge.php +++ b/controllers/merge.php @@ -51,6 +51,10 @@ final class MergeController extends TracToGitlab\GitlabController ); $issues = array_filter($issues, function ($issue) { + if ($issue['confidential']) { + return false; + } + foreach (['worksforme', 'wontfix', 'Duplicate', 'invalid'] as $label) { if (in_array($label, $issue['labels'])) { return false;