Skip to content

Commit c412ab2

Browse files
committed
Fix repo format, omit matrix.name
1 parent 1772507 commit c412ab2

File tree

2 files changed

+40
-71
lines changed

2 files changed

+40
-71
lines changed

.github/workflows/e2e.yml

Lines changed: 36 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,37 @@ jobs:
88
strategy:
99
matrix:
1010
include:
11-
- repo: https://github.com/contao-thememanager/core.git
12-
name: contao-thememanager-core
13-
- repo: https://github.com/contao/contao.git
14-
name: contao-contao
15-
- repo: https://github.com/idleberg/php-vite-manifest.git
16-
name: idleberg-vite-manifest
17-
- repo: https://github.com/idleberg/php-wordpress-vite-assets.git
18-
name: idleberg-wordpress-vite-assets
19-
- repo: https://github.com/inspirum/balikobot-php.git
20-
name: inspirum-balikobot
21-
- repo: https://github.com/inspirum/xml-php.git
22-
name: inspirum-xml
23-
- repo: https://github.com/janborg/contao-h4a_tabellen.git
24-
name: janborg-contao-h4a_tabellen
25-
- repo: https://github.com/kreait/firebase-php.git
26-
name: kreait-firebase-php
27-
- repo: https://github.com/numero2/contao-marketing-suite.git
28-
name: numero2-contao-marketing-suite
29-
- repo: https://github.com/numero2/contao-opengraph3.git
30-
name: numero2-contao-opengraph3
31-
- repo: https://github.com/numero2/contao-storelocator.git
32-
name: numero2-contao-storelocator
33-
- repo: https://github.com/oveleon/contao-company-bundle.git
34-
name: oveleon-contao-company-bundle
35-
- repo: https://github.com/oveleon/contao-cookiebar.git
36-
name: oveleon-contao-cookiebar
37-
- repo: https://github.com/oveleon/contao-recommendation-bundle.git
38-
name: oveleon-contao-recommendation-bundle
39-
- repo: https://github.com/rectorphp/rector-src.git
40-
name: rector-rector-src
41-
- repo: https://github.com/rectorphp/swiss-knife.git
42-
name: rector-swiss-knife
43-
- repo: https://github.com/sensiolabs/GotenbergBundle.git
44-
name: sensiolabs-gotenberg-bundle
45-
- repo: https://github.com/Setono/deployer-cron.git
46-
name: setono-deployer-cron
47-
- repo: https://github.com/Setono/deployer-dotenv.git
48-
name: setono-deployer-dotenv
49-
- repo: https://github.com/shipmonk-rnd/dead-code-detector.git
50-
name: shipmonk-dead-code-detector
51-
- repo: https://github.com/shipmonk-rnd/doctrine-mysql-index-hints.git
52-
name: shipmonk-doctrine-mysql-index-hints
53-
- repo: https://github.com/shipmonk-rnd/doctrine-mysql-optimizer-hints.git
54-
name: shipmonk-doctrine-mysql-optimizer-hints
55-
- repo: https://github.com/shipmonk-rnd/doctrine-two-phase-migrations.git
56-
name: shipmonk-doctrine-two-phase-migrations
57-
- repo: https://github.com/shipmonk-rnd/input-mapper.git
58-
name: shipmonk-input-mapper
59-
- repo: https://github.com/shipmonk-rnd/name-collision-detector.git
60-
name: shipmonk-name-collision-detector
61-
- repo: https://github.com/shipmonk-rnd/phpstan-baseline-per-identifier.git
62-
name: shipmonk-phpstan-baseline-per-identifier
63-
- repo: https://github.com/shipmonk-rnd/phpstan-rules.git
64-
name: shipmonk-phpstan-rules
65-
- repo: https://github.com/teamneusta/pimcore-testing-framework.git
66-
name: teamneusta-pimcore-testing-framework
67-
- repo: https://github.com/TomasVotruba/unused-public.git
68-
name: tomasvotruba-unused-public
69-
- repo: https://github.com/VincentLanglet/Twig-CS-Fixer.git
70-
name: vincentlanglet-twig-cs-fixer
71-
- repo: https://github.com/wallabag/wallabag.git
72-
name: wallabag-wallabag
11+
- repo: contao-thememanager/core
12+
- repo: contao/contao
13+
- repo: idleberg/php-vite-manifest
14+
- repo: idleberg/php-wordpress-vite-assets
15+
- repo: inspirum/balikobot-php
16+
- repo: inspirum/xml-php
17+
- repo: janborg/contao-h4a_tabellen
18+
- repo: kreait/firebase-php
19+
- repo: numero2/contao-marketing-suite
20+
- repo: numero2/contao-opengraph3
21+
- repo: numero2/contao-storelocator
22+
- repo: oveleon/contao-company-bundle
23+
- repo: oveleon/contao-cookiebar
24+
- repo: oveleon/contao-recommendation-bundle
25+
- repo: rectorphp/rector-src
26+
- repo: rectorphp/swiss-knife
27+
- repo: sensiolabs/GotenbergBundle
28+
- repo: Setono/deployer-cron
29+
- repo: Setono/deployer-dotenv
30+
- repo: shipmonk-rnd/dead-code-detector
31+
- repo: shipmonk-rnd/doctrine-mysql-index-hints
32+
- repo: shipmonk-rnd/doctrine-mysql-optimizer-hints
33+
- repo: shipmonk-rnd/doctrine-two-phase-migrations
34+
- repo: shipmonk-rnd/input-mapper
35+
- repo: shipmonk-rnd/name-collision-detector
36+
- repo: shipmonk-rnd/phpstan-baseline-per-identifier
37+
- repo: shipmonk-rnd/phpstan-rules
38+
- repo: teamneusta/pimcore-testing-framework
39+
- repo: TomasVotruba/unused-public
40+
- repo: VincentLanglet/Twig-CS-Fixer
41+
- repo: wallabag/wallabag
7342

7443
fail-fast: false
7544
steps:
@@ -87,7 +56,7 @@ jobs:
8756
name: Clone ${{ matrix.repo }}
8857
uses: actions/checkout@v4
8958
with:
90-
path: ${{ matrix.name }}
59+
path: ${{ matrix.repo }}
9160
repository: ${{ matrix.repo }}
9261

9362
-
@@ -103,16 +72,16 @@ jobs:
10372

10473
-
10574
name: Disable autoloader prepend
106-
working-directory: ${{ matrix.name }}
75+
working-directory: ${{ matrix.repo }}
10776
run: |
10877
echo "$(jq --indent 4 '.config += {"prepend-autoloader": false}' composer.json)" > composer.json
10978
11079
-
111-
name: Install ${{ matrix.name }} dependencies
112-
working-directory: ${{ matrix.name }}
80+
name: Install ${{ matrix.repo }} dependencies
81+
working-directory: ${{ matrix.repo }}
11382
run: composer install --no-progress --no-interaction --ignore-platform-reqs ${{ matrix.composerArgs }}
11483

11584
-
11685
name: Run analyser
117-
working-directory: ${{ matrix.name }}
86+
working-directory: ${{ matrix.repo }}
11887
run: php ../analyser/bin/composer-dependency-analyser ${{ matrix.cdaArgs }}

scripts/refresh-e2e.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ function filterDependents(array $dependents): array {
2727
if ($packageData) {
2828
$repository = $packageData['source']['url'] ?? '';
2929

30-
$name = str_replace('/', '-', $packageName);
30+
preg_match('/github\.com\/([^\/]+)\/([^\/]+).git/', $repository, $matches);
31+
[$_, $owner, $repo] = $matches;
32+
3133
$result[] = [
32-
'repo' => $repository,
33-
'name' => $name,
34+
'repo' => "$owner/$repo",
3435
];
3536
}
3637
}
@@ -41,7 +42,6 @@ function outputYaml(array $items): void {
4142
foreach ($items as $item) {
4243
echo " -\n";
4344
echo " repo: {$item['repo']}\n";
44-
echo " name: {$item['name']}\n";
4545
}
4646
}
4747

0 commit comments

Comments
 (0)