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

fix(ci): Add fetch-depth:0 to upload-docs checkout action #4145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented Mar 5, 2025

Fix potential issues with git tags during release process by adding fetch-depth:0 to actions/checkout in upload-docs job.

@github-actions github-actions bot added the external Issues created by non node team members label Mar 5, 2025
@cristaloleg
Copy link
Contributor

What does it solve exactly?

@crStiv
Copy link
Author

crStiv commented Mar 5, 2025

What does it solve exactly?

@cristaloleg

The current setup can fail when trying to work with git tags during releases because of the default shallow clone. Adding fetch-depth:0 makes sure we have access to the full git history, so the workflow can properly handle tags when uploading docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issues created by non node team members
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants