diff --git a/docs/guides-ci-setup.md b/docs/guides-ci-setup.md index d98cbe1530..b5e5f85387 100644 --- a/docs/guides-ci-setup.md +++ b/docs/guides-ci-setup.md @@ -42,7 +42,7 @@ jobs: - name: Validate current commit (last commit) with commitlint if: github.event_name == 'push' - run: npx commitlint --from HEAD~1 --to HEAD --verbose + run: npx commitlint --last --verbose - name: Validate PR commits with commitlint if: github.event_name == 'pull_request'