From 42a825d491951a0ff93c538dd992a937bb309573 Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Sat, 29 Aug 2020 20:36:07 +0200 Subject: [PATCH] fix checkout action, needs history (#35) Signed-off-by: David Karlsen --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 93f8ff5..ecc1a97 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A GitHub action to turn a GitHub project into a self-hosted Helm chart repo, usi 1. A GitHub repo containing a directory with your Helm charts (eg: `/charts`) 1. A GitHub branch called `gh-pages` to store the published charts. See `charts_repo_url` for alternatives -1. Create a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow) is available below. +1. Create a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file) ### Inputs @@ -36,7 +36,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Configure Git run: |