From f0c1848a5d96f87854ac8f864fdcb9eb58e93746 Mon Sep 17 00:00:00 2001 From: Florian Keller Date: Fri, 19 Jul 2024 14:00:36 +0200 Subject: [PATCH] PPI-955 - Added Github actions --- .github/workflows/unit.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 387d3f975..2f7db37ef 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -12,8 +12,11 @@ jobs: uploadCoverage: true dependencies: | [ - { "name": "SwagCmsExtensions", "repo": "https://github.com/shopware/SwagCmsExtensions.git" }, - { "name": "SwagCommercial", "repo": "https://gitlab.shopware.com/shopware/6/product/commercial.git" } + { "name": "SwagCmsExtensions", "repo": "https://gitlab-ci-token:$COMMERCIAL_GITLAB_TOKEN@gitlab.shopware.com/shopware/6/services/cms-extensions.git" }, + { "name": "SwagCommercial", "repo": "https://gitlab-ci-token:$COMMERCIAL_GITLAB_TOKEN@gitlab.shopware.com/shopware/6/product/commercial.git" } ] secrets: - codecovToken: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + codecovToken: ${{ secrets.CODECOV_TOKEN }} + env: | + COMMERCIAL_GITLAB_TOKEN=${{ secrets.COMMERCIAL_GITLAB_TOKEN }} + CMS_GITLAB_TOKEN=${{ secrets.CMS_GITLAB_TOKEN }}