Skip to content

Commit e8a70a6

Browse files
committed
ci: Auto update Github Action workflows
1 parent 548dddf commit e8a70a6

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

.github/workflows/module-ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v3.800.20
1+
# v3.800.22
22
# https://virtocommerce.atlassian.net/browse/VCST-4203
33
name: Module CI
44

@@ -27,11 +27,11 @@ on:
2727
- '**/argoDeploy.json'
2828
- '**/cloudDeploy.json'
2929
- samples/**
30-
30+
3131
jobs:
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:
@@ -56,7 +56,7 @@ jobs:
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 }}

.github/workflows/module-release-hotfix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v3.800.20
1+
# v3.800.22
22
# https://virtocommerce.atlassian.net/browse/VCST-4203
33
name: Release hotfix
44

@@ -13,12 +13,12 @@ on:
1313

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
16+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
21+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
2222
with:
2323
uploadPackage: 'true'
2424
uploadDocker: 'false'
@@ -46,7 +46,7 @@ jobs:
4646
publish-github-release:
4747
needs:
4848
[build, test, get-metadata]
49-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
49+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
5050
with:
5151
fullKey: ${{ needs.build.outputs.packageFullKey }}
5252
changeLog: '${{ needs.get-metadata.outputs.changeLog }}'

.github/workflows/publish-nugets.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v3.800.20
1+
# v3.800.22
22
# https://virtocommerce.atlassian.net/browse/VCST-4203
33
name: Publish nuget
44

@@ -13,12 +13,12 @@ on:
1313

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
16+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
21+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
2222
with:
2323
uploadPackage: 'true'
2424
uploadDocker: 'false'
@@ -29,7 +29,7 @@ jobs:
2929
publish-nuget:
3030
needs:
3131
[build, test]
32-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
32+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
3333
with:
3434
fullKey: ${{ needs.build.outputs.packageFullKey }}
3535
forceGithub: false

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v3.800.20
1+
# v3.800.22
22
# https://virtocommerce.atlassian.net/browse/VCST-4203
33
name: Release
44

@@ -7,6 +7,6 @@ on:
77

88
jobs:
99
release:
10-
uses: VirtoCommerce/.github/.github/workflows/[email protected].20
10+
uses: VirtoCommerce/.github/.github/workflows/[email protected].22
1111
secrets:
1212
envPAT: ${{ secrets.REPO_TOKEN }}

0 commit comments

Comments
 (0)