Skip to content

Commit 7dc3bda

Browse files
authored
ci: Fix publishing of documentation on push (#657)
Enable `nox-cross-arch` test for push events because if we don't do this, the `publish-docs` will not run on pushes, so the in-development documentation will not be published. While cross-arch tests are generally executed in the merge queue on the identical commit, activating them for push events provides an added layer of security. This is especially important in scenarios where emergency pushes might bypass the merge queue.
2 parents 8369b7b + 868b580 commit 7dc3bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
nox-cross-arch:
8383
name: Cross-arch tests with nox
84-
if: github.event_name == 'merge_group'
84+
if: github.event_name != 'pull_request'
8585
strategy:
8686
fail-fast: false
8787
# Before adding new items to this matrix, make sure that a dockerfile
@@ -185,7 +185,7 @@ jobs:
185185
runs-on: ubuntu-20.04
186186
steps:
187187
- name: Return true
188-
run: true
188+
run: "true"
189189

190190

191191
build:

0 commit comments

Comments
 (0)