17
17
permissions :
18
18
pull-requests : read
19
19
name : Check changed files
20
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
20
+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft
21
21
needs :
22
22
- lint
23
23
# - tox
49
49
- environment : docs
50
50
python-version : " 3.12"
51
51
name : Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
52
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
52
+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft
53
53
steps :
54
54
- name : GitHub Checkout 🛎
55
55
uses : actions/checkout@v4
77
77
- ansible : " 2.17"
78
78
python : " 3.10"
79
79
name : Ansible ${{ matrix.ansible }} lint with Python ${{ matrix.python }}
80
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
80
+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft
81
81
steps :
82
82
- name : GitHub Checkout 🛎
83
83
uses : actions/checkout@v4
@@ -116,7 +116,7 @@ jobs:
116
116
uses : ./.github/workflows/stackhpc-build-kayobe-image.yml
117
117
with :
118
118
if : ${{ needs.check-changes.outputs.build-kayobe-image == 'true' }}
119
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
119
+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft
120
120
121
121
check-tags :
122
122
name : Check container image tags
@@ -128,7 +128,7 @@ jobs:
128
128
kayobe_image : ${{ needs.build-kayobe-image.outputs.kayobe_image }}
129
129
if : ${{ needs.check-changes.outputs.check-tags == 'true' }}
130
130
secrets : inherit
131
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
131
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
132
132
133
133
all-in-one-ubuntu-noble-ovn :
134
134
name : aio (Ubuntu Noble OVN)
@@ -145,7 +145,7 @@ jobs:
145
145
OS_CLOUD : openstack
146
146
if : ${{ needs.check-changes.outputs.aio == 'true' }}
147
147
secrets : inherit
148
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
148
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
149
149
150
150
all-in-one-rocky-9-ovs :
151
151
name : aio (Rocky 9 OVS)
@@ -162,7 +162,7 @@ jobs:
162
162
OS_CLOUD : openstack
163
163
if : ${{ needs.check-changes.outputs.aio == 'true' }}
164
164
secrets : inherit
165
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
165
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
166
166
167
167
all-in-one-rocky-9-ovn :
168
168
name : aio (Rocky 9 OVN)
@@ -179,7 +179,7 @@ jobs:
179
179
OS_CLOUD : openstack
180
180
if : ${{ needs.check-changes.outputs.aio == 'true' }}
181
181
secrets : inherit
182
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
182
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
183
183
184
184
# Test two upgrade scenarios: Ubuntu Jammy to Noble OVN and Rocky 9 OVN.
185
185
@@ -199,7 +199,7 @@ jobs:
199
199
if : ${{ needs.check-changes.outputs.aio == 'true' }}
200
200
upgrade : true
201
201
secrets : inherit
202
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
202
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
203
203
204
204
all-in-one-upgrade-rocky-9-ovn :
205
205
name : aio upgrade (Rocky 9 OVN)
@@ -217,7 +217,7 @@ jobs:
217
217
if : ${{ needs.check-changes.outputs.aio == 'true' }}
218
218
upgrade : true
219
219
secrets : inherit
220
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
220
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
221
221
222
222
all-in-one-upgrade-rocky-9-ovs :
223
223
name : aio upgrade (Rocky 9 OVS)
@@ -235,4 +235,4 @@ jobs:
235
235
if : ${{ needs.check-changes.outputs.aio == 'true' }}
236
236
upgrade : true
237
237
secrets : inherit
238
- if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
238
+ if : ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' && !github.event.pull_request.draft }}
0 commit comments