Skip to content

Commit 4c40a18

Browse files
authored
docs: checkout requires fetch-depth: 0 (#3563)
Fixes the documentation to advise using fetch-depth: 0, which is needed for `commitlint --from` to check against the history of commits.
1 parent d973611 commit 4c40a18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/guides-ci-setup.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
commitlint:
2020
runs-on: ubuntu-22.04
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
23+
with:
24+
fetch-depth: 0
2325
- name: Install required dependencies
2426
run: |
2527
apt update

0 commit comments

Comments
 (0)