Skip to content

Commit 41ed6f2

Browse files
authored
Update test-changed workflow checkout step (#3580)
1 parent 36be62a commit 41ed6f2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test-changed.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Checkout
13-
run: |
14-
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
11+
- name: Checkout Repo
12+
uses: actions/checkout@master
13+
with:
14+
# This makes Actions fetch all Git history so run-changed script can diff properly.
15+
fetch-depth: 0
1516
- name: Set up Node (10)
1617
uses: actions/setup-node@v1
1718
with:

0 commit comments

Comments
 (0)