Skip to content

Conversation

@SimonWahlin
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings July 5, 2025 20:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a Git configuration step to mark the workflow’s workspace as a safe directory, addressing a GitVersion error caused by Git’s safe.directory checks.

  • Introduce a new Git config step to add $GITHUB_WORKSPACE to safe.directory
  • Aims to prevent GitVersion failures due to untrusted repository paths
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:31

  • This step runs before the code is checked out, so $GITHUB_WORKSPACE may not yet contain a Git repository. Move it after the checkout step to ensure the .git directory is present.
    - name: Set safe directory

@SimonWahlin SimonWahlin merged commit cc997e3 into main Jul 5, 2025
1 check passed
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.

2 participants