Add note about fetch-depth

This commit is contained in:
CrazyMax
2020-06-15 18:41:56 +02:00
parent c30b077d74
commit aff4fc5a2c
+2
View File
@@ -60,6 +60,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
> **IMPORTANT**: note the `fetch-depth: 0` input in `Checkout` step. It is required for the changelog to work correctly.
### Run on new tag
If you want to run GoReleaser only on new tag, you can use this event: