From c9c3546b7d9ecc7b3dfd6d2f82d9fbdc4d50b87e Mon Sep 17 00:00:00 2001 From: Aydin Hassan Date: Wed, 17 Jan 2024 17:09:37 +0100 Subject: [PATCH] Enable Commercial --- .github/workflows/php.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4a0dc6101..fb5bfa4ec 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -21,18 +21,21 @@ jobs: if: github.event_name != 'schedule' uses: shopware/github-actions/.github/workflows/cs-fixer.yml@main phpstan: - uses: shopware/github-actions/.github/workflows/phpstan.yml@phpstan-deps + uses: shopware/github-actions/.github/workflows/phpstan.yml@main with: extensionName: SwagPayPal shopwareVersion: trunk dependencies: |- [ + {"name": "SwagCommercial", "repo": "https://shopware:$COMMERCIAL_TOKEN@gitlab.shopware.com/shopware/6/product/commercial.git"}, {"name": "SwagCmsExtensions", "repo": "https://shopware:$CMS_TOKEN@gitlab.shopware.com/shopware/6/services/cms-extensions.git"} ] secrets: - env: CMS_TOKEN=${{ secrets.GITLAB_TOKEN }} + env: |- + CMS_TOKEN=${{ secrets.CMS_GITLAB_TOKEN }} + COMMERCIAL_TOKEN=${{ secrets.COMMERCIAL_GITLAB_TOKEN }} phpunit: - uses: shopware/github-actions/.github/workflows/phpunit.yml@phpstan-deps + uses: shopware/github-actions/.github/workflows/phpunit.yml@main with: uploadCoverage: true extensionName: SwagPayPal @@ -43,7 +46,7 @@ jobs: ] secrets: env: |- - CMS_TOKEN=${{ secrets.GITLAB_TOKEN }} + CMS_TOKEN=${{ secrets.CMS_GITLAB_TOKEN }} codecovToken: ${{ secrets.CODECOV_TOKEN }}