Skip to content

Commit 5d296bc

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.
1 parent 0ae9c1f commit 5d296bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152

153153
e2e-snapshots:
154154
needs: test
155+
if: github.ref == 'refs/heads/main'
155156
strategy:
156157
fail-fast: false
157158
matrix:

0 commit comments

Comments
 (0)