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

actions\checkout Root folder seems to duplicate the folder structure of the repo. #1989

Open
brentschmaltz opened this issue Nov 25, 2024 · 1 comment

Comments

@brentschmaltz
Copy link

We have this repo: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet with this workflow file: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/.github/workflows/dotnetcore.yml

actions/checkout@v4.1.1 creates a folder structure of: 'D:\a\azure-activedirectory-identitymodel-extensions-for-dotnet\azure-activedirectory-identitymodel-extensions-for-dotnet' duplicating the folder.

This causes some of our tests to fail.

Is there a way to control the root folder?

@simon-vanherck
Copy link

I have the same issue

Run actions/checkout@v4 Syncing repository: simon-vanherck/electric_city Getting Git version info Temporarily overriding HOME='/home/runner/work/_temp/ef3f101d-a9bb-4cf8-880f-05206feff3' before making global git config changes Adding repository directory to the temporary git global config as a safe directory /usr/bin/git config --global --add safe.directory /home/runner/work/electric_city/electric_city Deleting the contents of '/home/runner/work/**electric_city/electric_city'** Initializing the repository /usr/bin/git init /home/runner/work/electric_city/electric_city hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /home/runner/work/electric_city/electric_city/.git/

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

2 participants