Skip to content

Commit

Permalink
docs: checkout requires fetch-depth: 0 (#3563)
Browse files Browse the repository at this point in the history
Fixes the documentation to advise using fetch-depth: 0, which is needed for `commitlint --from` to check against the history of commits.
  • Loading branch information
ari-becker authored Mar 21, 2023
1 parent d973611 commit 4c40a18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guides-ci-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
commitlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install required dependencies
run: |
apt update
Expand Down

0 comments on commit 4c40a18

Please sign in to comment.