Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use fetch depth in checkout step for changelog #595

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

suz-stripe
Copy link
Contributor

Reviewers

r? @stripe/developer-products
cc @stripe/developer-products

Summary

We noticed a weird changelog issue since we switched to GitHub Actions for releasing the CLI. After some research, it appears that Goreleaser recommends using fetch-depth: 0 for the code checkout step for the Changelog to be generated properly. I missed this in the documentation when initially putting this workflow together.

Also noted from their GH Action repo README:

IMPORTANT: note the fetch-depth: 0 input in Checkout step. It is required for the changelog to work correctly.

This should ensure we get all PRs listed in their respective changelogs going forward.

@suz-stripe suz-stripe merged commit 8ee2b83 into master Feb 18, 2021
@suz-stripe suz-stripe deleted the changelog-fetch-depth branch February 18, 2021 01:57
az777777 pushed a commit to az777777/stripe-cli that referenced this pull request Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants