Skip to content

Commit 73d9a22

Browse files
authored
Merge pull request #451 from rackerlabs/fix-container-build
ci: fix to build on containers on main merge
2 parents 21624f8 + 1e73d82 commit 73d9a22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/containers.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
openstack:
23-
if: github.event_name == 'pull_request' && github.event.action != 'closed'
23+
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
2424
runs-on: ubuntu-latest
2525

2626
strategy:
@@ -68,7 +68,7 @@ jobs:
6868
annotations: ${{ steps.meta.outputs.annotations }}
6969

7070
dnsmasq:
71-
if: github.event_name == 'pull_request' && github.event.action != 'closed'
71+
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
7272
runs-on: ubuntu-latest
7373

7474
steps:
@@ -109,6 +109,7 @@ jobs:
109109
labels: ${{ steps.meta.outputs.labels }}
110110

111111
workflows:
112+
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
112113
runs-on: ubuntu-latest
113114

114115
strategy:

0 commit comments

Comments
 (0)