Skip to content

Commit d847156

Browse files
authored
Merge pull request #28439 from ocaml/update-gha-workflow
To avoid pulling the entire branch history, set `actions/checkout`'s `fetch-depth` to `2`
2 parents 057b6d0 + c0dc96a commit d847156

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Windows CI
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- master
66
pull_request:
77
env:
88
OPAMROOT: D:\opamroot
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout tree
1919
uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 2
2022

2123
- name: Download install.ps1
2224
run: |

0 commit comments

Comments
 (0)