Skip to content

Commit 82e8ff2

Browse files
committed
CI: Add more conditions to PR workflow
1 parent 6900257 commit 82e8ff2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/stackhpc-pull-request.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ jobs:
166166
ssh_username: ubuntu
167167
neutron_plugin: ovn
168168
OS_CLOUD: sms-lab-release
169+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
169170
secrets: inherit
170-
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
171+
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
171172

172173
all-in-one-ubuntu-jammy-ovs:
173174
name: aio (Ubuntu Jammy OVS)
@@ -181,6 +182,7 @@ jobs:
181182
ssh_username: ubuntu
182183
neutron_plugin: ovs
183184
OS_CLOUD: sms-lab-release
185+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
184186
secrets: inherit
185187
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
186188

@@ -196,6 +198,7 @@ jobs:
196198
ssh_username: ubuntu
197199
neutron_plugin: ovn
198200
OS_CLOUD: sms-lab-release
201+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
199202
secrets: inherit
200203
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
201204

@@ -211,6 +214,7 @@ jobs:
211214
ssh_username: cloud-user
212215
neutron_plugin: ovs
213216
OS_CLOUD: sms-lab-release
217+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
214218
secrets: inherit
215219
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
216220

0 commit comments

Comments
 (0)