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

Investigate fetch-tags option for actions/checkout in GHA #125

Closed
t1m0thyj opened this issue Nov 28, 2023 · 3 comments
Closed

Investigate fetch-tags option for actions/checkout in GHA #125

t1m0thyj opened this issue Nov 28, 2023 · 3 comments

Comments

@t1m0thyj
Copy link
Contributor

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-actions

In actions/checkout@v3, a new option fetch-tags was added that is independent of fetch-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 😋

@t1m0thyj
Copy link
Contributor Author

In addition to Octorelease itself, lerna may depend on Git history being present. See lerna/lerna#2542

@t1m0thyj
Copy link
Contributor Author

Can't use fetch-tags until actions/checkout#1471 is fixed

@t1m0thyj
Copy link
Contributor Author

t1m0thyj commented Feb 16, 2024

Closing for now, the linked issue seems stale but will keep monitoring it

@t1m0thyj t1m0thyj closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
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

No branches or pull requests

1 participant