Skip to content

Commit 400c943

Browse files
committed
fix: do not iterate over appstore repo
it clashes with the same named app in server that is present since 34 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 3784f91 commit 400c943

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

changelog/index.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,12 @@ protected function getReposToIterate($head = 'master')
157157
$parameters = array(self::ORG_NAME);
158158
$repos = $paginator->fetchAll($organizationApi, 'repositories', $parameters);
159159

160-
// Filter out archived and disabled repos
160+
// Filter out archived and disabled repos, and appstore (name clash)
161161
$results = array_filter($repos, function ($repo): bool {
162162
return $repo['archived'] === false
163-
&& $repo['disabled'] === false;
163+
&& $repo['disabled'] === false
164+
&& $repo['name'] !== 'appstore'
165+
;
164166
});
165167

166168
// Return repos names
@@ -619,7 +621,7 @@ function ($a, $b) {
619621

620622
if ($repoName === self::REPO_SERVER) {
621623
$output->writeln(" * #$number$status");
622-
} else {
624+
} else {
623625
$output->writeln(" * $orgName/$repoName#$number$status");
624626
}
625627
}

0 commit comments

Comments
 (0)