Closed t1m0thyj closed 9 months ago
In addition to Octorelease itself, lerna
may depend on Git history being present. See https://github.com/lerna/lerna/issues/2542
Can't use fetch-tags
until https://github.com/actions/checkout/issues/1471 is fixed
Closing for now, the linked issue seems stale but will keep monitoring it
Our documentation for GitHub Actions suggests to use
fetch-depth: 0
in order to do a deep (not shallow) clone. https://github.com/zowe-actions/octorelease/blob/master/docs/recipes.md#github-actionsIn
actions/checkout@v3
, a new optionfetch-tags
was added that is independent offetch-depth
. If this provides enough Git history for Octorelease to work correctly, it would be more efficient then fetching everything. Thanks to @zFernand0 for suggesting this 😋