Skip to content

Commit cf1ab3e

Browse files
alan-agius4clydin
authored andcommitted
ci: skip e2e-snapshots on non-main branches
Snapshot updates occur only on the `main` branch, so running them on patch branches provides no benefit. (cherry picked from commit 5d296bc)
1 parent 0098c38 commit cf1ab3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148

149149
e2e-snapshots:
150150
needs: test
151+
if: github.ref == 'refs/heads/main'
151152
strategy:
152153
fail-fast: false
153154
matrix:

0 commit comments

Comments
 (0)