From 77e3c0eefc92f995b061a270540dd8bbab81de61 Mon Sep 17 00:00:00 2001 From: Valentine Zavadsky Date: Tue, 24 Mar 2020 12:43:47 +0300 Subject: [PATCH] Update instructions with latest checkout actions version (#13) --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7bc0be..390db2b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ jobs: - uses: adwerx/pronto-ruby@v2.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ``` With specific runners: @@ -80,6 +79,18 @@ name: Pronto rubocop rails_schema yamllint ``` +If you want to use `actions/checkout@v2`: + +```yaml +name: Pronto +# ... + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: | + git fetch --no-tags --prune origin +``` + ### Development / Contributions See [CONTRIBUTING.md](./CONTRIBUTING.md)