1- # v3.800.20
1+ # v3.800.22
22# https://virtocommerce.atlassian.net/browse/VCST-4203
33name : Module CI
44
2727 - ' **/argoDeploy.json'
2828 - ' **/cloudDeploy.json'
2929 - samples/**
30-
30+
3131jobs :
3232 ci :
33- if : ${{ github.actor != 'dependabot[bot]' &&
34- (github.event.pull_request.head.repo.full_name == github.repository ||
33+ if : ${{ github.actor != 'dependabot[bot]' &&
34+ (github.event.pull_request.head.repo.full_name == github.repository ||
3535 github.event.pull_request.head.repo.full_name == '') }} # Check that PR not from forked repo and not from Dependabot
3636 runs-on : ubuntu-24.04
3737 env :
5656 run-e2e : ${{ steps.run-e2e.outputs.result }}
5757 run-ui-tests : ${{ steps.run-ui-tests.outputs.result }}
5858 deployment-folder-exists : ${{ steps.check_deployment_folder.outputs.exists }}
59- requiredModuleListUrl : ${{ steps.extract_pr_url .outputs.url }}
59+ requiredModulesListUrl : ${{ steps.extract_required_modules_list_url_from_pr .outputs.url }}
6060
6161 steps :
6262
@@ -141,7 +141,7 @@ jobs:
141141
142142 - name : Packaging
143143 run : vc-build Compress -skip Clean+Restore+Compile+Test
144-
144+
145145 - name : Publish Nuget
146146 if : ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
147147 uses : VirtoCommerce/vc-github-actions/publish-nuget@master
@@ -153,7 +153,7 @@ jobs:
153153 with :
154154 blobSAS : ${{ secrets.BLOB_TOKEN }}
155155 blobUrl : ${{ vars.BLOB_URL }}
156-
156+
157157 - name : Add Jira link
158158 if : ${{ github.event_name == 'pull_request' }}
159159 uses : VirtoCommerce/vc-github-actions/publish-jira-link@master
@@ -178,7 +178,7 @@ jobs:
178178 changelog : ${{ steps.changelog.outputs.changelog }}
179179 organization : ${{ github.repository_owner }}
180180 uses : VirtoCommerce/vc-github-actions/publish-github-release@master
181-
181+
182182 - name : Set artifactUrl value
183183 id : artifactUrl
184184 run : |
@@ -201,23 +201,23 @@ jobs:
201201 env :
202202 COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
203203 run : |
204- if [[ "$COMMIT_MESSAGE" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]];
204+ if [[ "$COMMIT_MESSAGE" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]];
205205 then
206206 echo "result=false" >> $GITHUB_OUTPUT
207207 else
208208 echo "result=true" >> $GITHUB_OUTPUT
209209 fi
210210
211- - name : Extract URL from PR message
211+ - name : Extract required modules list URL from the pull request description
212212 if : ${{ github.event_name == 'pull_request' }}
213- id : extract_pr_url
213+ id : extract_required_modules_list_url_from_pr
214214 shell : pwsh
215215 env :
216216 PR_BODY : ${{ github.event.pull_request.body }}
217217 run : |
218218 $text = $env:PR_BODY
219219 $marker = 'Required modules list URL'
220-
220+
221221 $url = ''
222222 if ($null -ne $text -and $text.Contains($marker)) {
223223 $startIndex = $text.IndexOf($marker)
@@ -229,7 +229,7 @@ jobs:
229229 }
230230 }
231231 }
232-
232+
233233 if ([string]::IsNullOrWhiteSpace($url) -eq $false) {
234234 Write-Host "url found: $url"
235235 Add-Content -Path $env:GITHUB_OUTPUT -Value "url=$url"
@@ -262,9 +262,9 @@ jobs:
262262 - name : Setup Git Credentials
263263 if : ${{ (github.ref == 'refs/heads/dev' && github.event_name != 'workflow_dispatch') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
264264 uses : VirtoCommerce/vc-github-actions/setup-git-credentials-github@master
265- with :
265+ with :
266266 githubToken : ${{ secrets.REPO_TOKEN }}
267-
267+
268268 - name : Publish Manifest
269269 if : ${{ (github.ref == 'refs/heads/dev' && github.event_name != 'workflow_dispatch') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
270270 uses : VirtoCommerce/vc-github-actions/publish-manifest@master
@@ -309,7 +309,7 @@ jobs:
309309 if : ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push')) ||
310310 (github.event_name == 'workflow_dispatch') || ((github.base_ref == 'dev') && (github.event_name == 'pull_request')) }}
311311 needs : ' ci'
312- uses :
VirtoCommerce/.github/.github/workflows/[email protected] .20 312+ uses :
VirtoCommerce/.github/.github/workflows/[email protected] .22 313313 with :
314314 installModules : ' false'
315315 installCustomModule : ' true'
@@ -321,12 +321,12 @@ jobs:
321321 secrets :
322322 envPAT : ${{ secrets.REPO_TOKEN }}
323323 testSecretEnvFile : ${{ secrets.VC_TESTING_MODULE_ENV_FILE }}
324-
324+
325325 module-katalon-tests :
326326 if : ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
327327 (github.event_name == 'workflow_dispatch') || (github.base_ref == 'dev') && (github.event_name == 'pull_request') }}
328328 needs : ' ci'
329- uses :
VirtoCommerce/.github/.github/workflows/[email protected] .20 329+ uses :
VirtoCommerce/.github/.github/workflows/[email protected] .22 330330 with :
331331 katalonRepo : ' VirtoCommerce/vc-quality-gate-katalon'
332332 katalonRepoBranch : ' dev'
@@ -335,7 +335,7 @@ jobs:
335335 installCustomModule : ' true'
336336 customModuleId : ${{ needs.ci.outputs.moduleId }}
337337 customModuleUrl : ${{ needs.ci.outputs.artifactUrl }}
338- customModuleListUrl : ${{ needs.ci.outputs.requiredModuleListUrl }}
338+ requiredModulesListUrl : ${{ needs.ci.outputs.requiredModulesListUrl }}
339339 platformDockerTag : ' dev-linux-latest'
340340 storefrontDockerTag : ' dev-linux-latest'
341341 secrets :
@@ -347,7 +347,7 @@ jobs:
347347 && github.event_name == 'push'
348348 && needs.ci.outputs.deployment-folder-exists == 'true'}}
349349 needs : ci
350- uses :
VirtoCommerce/.github/.github/workflows/[email protected] .20 350+ uses :
VirtoCommerce/.github/.github/workflows/[email protected] .22 351351 with :
352352 releaseSource : module
353353 moduleId : ${{ needs.ci.outputs.moduleId }}
0 commit comments