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

fetch tags instead of fetch-depth: 0 #49

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Dec 18, 2023

instead of fetching the whole git history its more efficient to just fetch the tags after checkout.
in repositories with a huge history fetch-depth: 0 can get pretty slow

see actions/checkout#701 (comment)

@WyriHaximus WyriHaximus added this to the v1.4.0 milestone Dec 19, 2023
Copy link
Owner

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, thanks for pointing this out and putting the time into creating a PR to address it 👍 .

@WyriHaximus WyriHaximus merged commit 5916541 into WyriHaximus:master Dec 19, 2023
7 checks passed
@staabm staabm deleted the patch-1 branch December 20, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants