Skip to content

Commit f72822f

Browse files
committed
ci: Auto update Github Action workflows
1 parent 58fec4c commit f72822f

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

.github/workflows/module-ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.15
2-
# https://virtocommerce.atlassian.net/browse/VCST-3725
1+
# v3.800.16
2+
# https://virtocommerce.atlassian.net/browse/VCST-3881
33
name: Module CI
44

55
on:
@@ -197,8 +197,10 @@ jobs:
197197

198198
- name: Check commit message for version number
199199
id: run-e2e
200+
env:
201+
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
200202
run: |
201-
if [[ "${{ github.event.head_commit.message }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]];
203+
if [[ "$COMMIT_MESSAGE" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]];
202204
then
203205
echo "result=false" >> $GITHUB_OUTPUT
204206
else
@@ -276,7 +278,7 @@ jobs:
276278
if: ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push')) ||
277279
(github.event_name == 'workflow_dispatch') || ((github.base_ref == 'dev') && (github.event_name == 'pull_request')) }}
278280
needs: 'ci'
279-
uses: VirtoCommerce/.github/.github/workflows/ui-autotests.yml@v3.800.15
281+
uses: VirtoCommerce/.github/.github/workflows/ui-autotests.yml@v3.800.16
280282
with:
281283
installModules: 'false'
282284
installCustomModule: 'true'
@@ -290,7 +292,7 @@ jobs:
290292
if: ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
291293
(github.event_name == 'workflow_dispatch') || (github.base_ref == 'dev') && (github.event_name == 'pull_request') }}
292294
needs: 'ci'
293-
uses: VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.15
295+
uses: VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.16
294296
with:
295297
katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon'
296298
katalonRepoBranch: 'dev'
@@ -310,7 +312,7 @@ jobs:
310312
&& github.event_name == 'push'
311313
&& needs.ci.outputs.deployment-folder-exists == 'true'}}
312314
needs: ci
313-
uses: VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.15
315+
uses: VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.16
314316
with:
315317
releaseSource: module
316318
moduleId: ${{ needs.ci.outputs.moduleId }}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.15
2-
# https://virtocommerce.atlassian.net/browse/VCST-3725
1+
# v3.800.16
2+
# https://virtocommerce.atlassian.net/browse/VCST-3881
33
name: Release hotfix
44

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

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.15
16+
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.16
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.15
21+
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.16
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/publish-github.yml@v3.800.15
49+
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.16
5050
with:
5151
fullKey: ${{ needs.build.outputs.packageFullKey }}
5252
changeLog: '${{ needs.get-metadata.outputs.changeLog }}'

.github/workflows/publish-nugets.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.15
2-
# https://virtocommerce.atlassian.net/browse/VCST-3725
1+
# v3.800.16
2+
# https://virtocommerce.atlassian.net/browse/VCST-3881
33
name: Publish nuget
44

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

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.15
16+
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.16
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.15
21+
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.16
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/publish-github.yml@v3.800.15
32+
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.16
3333
with:
3434
fullKey: ${{ needs.build.outputs.packageFullKey }}
3535
forceGithub: false

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# v3.800.15
2-
# https://virtocommerce.atlassian.net/browse/VCST-3725
1+
# v3.800.16
2+
# https://virtocommerce.atlassian.net/browse/VCST-3881
33
name: Release
44

55
on:
66
workflow_dispatch:
77

88
jobs:
99
release:
10-
uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.800.15
10+
uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.800.16
1111
secrets:
1212
envPAT: ${{ secrets.REPO_TOKEN }}

0 commit comments

Comments
 (0)