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: checkout last 10 commits #232

Merged
merged 1 commit into from
May 10, 2024
Merged

fix: checkout last 10 commits #232

merged 1 commit into from
May 10, 2024

Conversation

xavidop
Copy link
Contributor

@xavidop xavidop commented May 10, 2024

Fixes or implements VF-XXX

Brief description. What is this change?

We have a shallow repository with only a single commit. We can verify by executing git rev-parse --is-shallow-repository.

HEAD^ points to the commit before our current commit – which does not exist in shallow clones of depth 1 and sometimes it does not exist in depth 2. We have to unshallow we clone or deepen it to include the commits which we are referencing.

For instance, to deepen our shallow clone to include the latest 10 commits, run git fetch --depth=10

https://github.com/voiceflow/creator-app/pull/8107

Checklist

  • Breaking changes have been communicated, including:
    • New required environment variables
    • Renaming of interfaces (API routes, request/response interface, etc)
  • New environment variables have been deployed
  • Appropriate tests have been written
    • Bug fixes are accompanied by an updated or new test
    • New features are accompanied by a new test

Copy link
Contributor

@theProf theProf left a comment

Choose a reason for hiding this comment

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

@xavidop xavidop merged commit d1b9181 into master May 10, 2024
4 checks passed
@xavidop xavidop deleted the xavier/shallow-fix/IN-000 branch May 10, 2024 13:44
@vf-service-account
Copy link
Contributor

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=0.68.3

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

Successfully merging this pull request may close these issues.

None yet

5 participants