From 39636424cdc5b6a97e7be92f8192a33847fa4f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Thu, 20 Jun 2024 22:58:05 +0300 Subject: [PATCH] docs(readme): reword the checkout note --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f714565..e2ab31d 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,16 @@ This action generates a changelog based on your Git history using [git-cliff](ht - `OUTPUT`: Output file. (Default: `"git-cliff/CHANGELOG.md"`) > [!IMPORTANT] -> It is important to checkout the repositories as: -> -> ```yaml -> - name: Checkout -> uses: actions/checkout@v4 -> with: -> fetch-depth: 0 -> ``` -> -> `fetch-depth: 0` the is key input here to checkout action. -> -> Otherwise, you might end-up getting empty changelogs or `git ref` errors depending on arguments passed to `git-cliff`. +> Check out the entire history via `fetch-depth: 0` before running this action. +> +> ```yaml +> - name: Checkout +> uses: actions/checkout@v4 +> with: +> fetch-depth: 0 +> ``` +> +> Otherwise, you might end up getting empty changelogs or `git ref` errors depending on arguments passed to `git-cliff`. ### Examples