Skip to content

Commit faa57cb

Browse files
committed
[Pimcore] 12.3 only and change workflows
1 parent 6964bd3 commit faa57cb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/packages_components.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- 'src/CoreShop/Component/**'
77
- '.github/workflows/packages_components.yml'
8-
pull_request_target:
8+
pull_request:
99
branches: [ '4.0', '4.1', '5.0', 'next' ]
1010
paths:
1111
- 'src/CoreShop/Component/**'
@@ -27,6 +27,7 @@ permissions:
2727

2828
jobs:
2929
list:
30+
if: github.repository == 'coreshop/CoreShop'
3031
runs-on: ubuntu-latest
3132
name: "Create a list of packages"
3233

@@ -51,6 +52,7 @@ jobs:
5152

5253
test-packages:
5354
needs: list
55+
if: github.repository == 'coreshop/CoreShop'
5456
runs-on: ubuntu-latest
5557
name: "${{ matrix.package }}, PHP ${{ matrix.php }}, Pimcore ${{ matrix.pimcore }}"
5658
strategy:
@@ -87,7 +89,7 @@ jobs:
8789
uses: actions/cache@v4
8890
with:
8991
path: ${{ steps.composer-cache.outputs.dir }}
90-
key: ${{ runner.os }}-php-${{ matrix.php }}-package-${{ matrix.package }}-composer-${{ hashFiles(format('src/CoreShop/{0}/composer.json', matrix.package)) }}
92+
key: ${{ runner.os }}-php-${{ matrix.php }}-pimcore-${{ matrix.pimcore }}-package-${{ matrix.package }}-composer-${{ hashFiles(format('src/CoreShop/{0}/composer.json', matrix.package)) }}
9193
restore-keys: |
9294
${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.pimcore }}-package-${{ matrix.package }}-composer-
9395
${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.pimcore }}-package-

0 commit comments

Comments
 (0)