From 5e9a78c2c83f817e0c8386732f141e280d57c9e0 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Thu, 3 Nov 2022 15:02:03 +0100 Subject: [PATCH] doc: Update README example to checkout tags --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2935604..7462630 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Development Freezer uses: redhat-plumbers-in-action/devel-freezer@latest @@ -74,6 +76,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} ``` +> **Note**: `fetch-depth: 0` is required in order to have access to full history including tags. + ```yml policy: - tags: ['alpha', 'beta']