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

Why do GitHub actions need to fetch the whole repository history? #53383

Open
nh13 opened this issue Jan 22, 2025 · 0 comments
Open

Why do GitHub actions need to fetch the whole repository history? #53383

nh13 opened this issue Jan 22, 2025 · 0 comments

Comments

@nh13
Copy link
Member

nh13 commented Jan 22, 2025

I am confused why we need to the full repository history when checking out the repository via GitHub actions. It takes nearly a minute to checkout the repository will all its history. When the --git-range argument is used (e.g. with bioconda-utils), then we may need the last two commits. When we do need to compare it against the master branch (or base branch), it looks like it is fetched manually. Hopefully this is any easy speed up to the build process?

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