Skip to content

Commit 6e441f0

Browse files
ci: update workflows (#541)
1 parent 777d0d1 commit 6e441f0

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
call-terraform-ci-pipeline:
11-
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci-v2.yml@v1.10.0
11+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci-v2.yml@v1.11.2
1212
secrets: inherit
1313
with:
1414
craSCCv2: true

.github/workflows/release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
name: Release-Pipeline
22

3+
# Trigger on push(merge) to main branch
34
on:
4-
workflow_run:
5-
workflows: [CI-Pipeline]
6-
branches: [main]
7-
types:
8-
- completed
9-
10-
# Allows you to run this workflow manually from the Actions tab
11-
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
128

139
jobs:
1410
call-terraform-release-pipeline:
15-
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
16-
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
11+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
1712
secrets: inherit

0 commit comments

Comments
 (0)