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)