Skip to content

Conversation

@willum070
Copy link
Collaborator

Changes the way the workflow checks things out.

  • Adds step to fetch previous commit.
  • Changes checkout previous commit to check out the commit using the new local ref that we just created.

Gemini explains it like this (so much collaboration): Why This Should Work

Explicit Fetch: We're explicitly fetching the exact commit we need, bypassing any potential issues with fetch-depth calculations.
Local Ref: We're creating a local ref, making the checkout unambiguous.
Branch Context: We start by checking out the branch, then we check out a specific commit.

Changes the way the workflow checks things out.
- Adds step to fetch previous commit.
- Changes checkout previous commit to check out the commit using the new local ref that we just created.

Gemini explains it like this (so much collaboration):
Why This Should Work

Explicit Fetch: We're explicitly fetching the exact commit we need, bypassing any potential issues with fetch-depth calculations.
Local Ref: We're creating a local ref, making the checkout unambiguous.
Branch Context: We start by checking out the branch, then we check out a specific commit.
@gemini-code-assist
Copy link

Important

The terms of service for this installation has not been accepted. Please ask the Organization owners to visit the Gemini Code Assist Admin Console to sign it.

@willum070 willum070 merged commit 1ebf64c into main Feb 26, 2025
6 checks passed
@willum070 willum070 deleted the willum070-patch-1 branch February 26, 2025 18:49
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.

1 participant