Skip to content

Commit 5057bd3

Browse files
authored
chore: add tree filtering to example (#192)
1 parent dbe0650 commit 5057bd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
3737
fetch-depth: 0
38+
filter: tree:0 # Optional, but recommended: reduce the size of the checkout with tree filtering, see https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/
3839

3940
# In any subsequent steps within this job (myjob) we can reference the resolved SHAs
4041
# using either the step outputs or environment variables:
@@ -157,6 +158,7 @@ jobs:
157158
with:
158159
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
159160
fetch-depth: 0
161+
filter: tree:0 # Optional, but recommended: reduce the size of the checkout with tree filtering, see https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/
160162
161163
# Mark your git directory as safe
162164
- name: Set Directory as Safe

0 commit comments

Comments
 (0)