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

Can't get it running #50

Open
jonnitto opened this issue Jul 7, 2023 · 3 comments · May be fixed by #51
Open

Can't get it running #50

jonnitto opened this issue Jul 7, 2023 · 3 comments · May be fixed by #51

Comments

@jonnitto
Copy link

jonnitto commented Jul 7, 2023

I've created a new repository with an readme file and try to run the action, but'll get following error

[NOTE] Resolving configuration...



[NOTE] Cloning "https://github.com/MY_ORG_NAME/Base.AssetList.git" repository to "/tmp/monorepo_split/clone_directory" directory



[NOTE] Running: git clone -- https://***@github.com/MY_ORG_NAME/Base.AssetList.git /tmp/monorepo_split/clone_directory

Cloning into '/tmp/monorepo_split/clone_directory'...


[NOTE] Cleaning destination repository of old files



[NOTE] Copying contents to git repo of "49d3bc83602b61bd989e49efa87fd24b132b8f98" branch



[NOTE] Files that will be pushed

total 28
drwxr-xr-x 6 1001  123 4096 Jul  7 20:32 .
drwxr-xr-x 3 root root 4096 Jul  7 20:32 ..
drwxr-xr-x 8 root root 4096 Jul  7 20:32 .git
drwxr-xr-x 2 1001  123 4096 Jul  7 20:32 Configuration
drwxr-xr-x 2 1001  123 4096 Jul  7 20:32 NodeTypes
drwxr-xr-x 3 1001  123 4096 Jul  7 20:32 Resources
fatal: detected dubious ownership in repository at '/github/workspace'
To add an exception for this directory, call:

	git config --global --add safe.directory /github/workspace
-rw-r--r-- 1 1001  123  328 Jul  7 20:32 composer.json

[NOTE] Changing directory from "/github/workspace" to "/tmp/monorepo_split/build_directory"

fatal: detected dubious ownership in repository at '/tmp/monorepo_split/build_directory'
To add an exception for this directory, call:

	git config --global --add safe.directory /tmp/monorepo_split/build_directory
fatal: detected dubious ownership in repository at '/tmp/monorepo_split/build_directory'
To add an exception for this directory, call:

	git config --global --add safe.directory /tmp/monorepo_split/build_directory


[NOTE] No files to change



[NOTE] Changing directory from "/tmp/monorepo_split/build_directory" to "/github/workspace"

What I am doing wrong? I've set up everything just like in the readme

@mkoziy
Copy link

mkoziy commented Jul 9, 2023

This should fix the issue :)
uses: "danharrin/[email protected]"

@jonnitto
Copy link
Author

Nope, that didn't help as I've already done it that way.

I try to fix it in my fork, and it work if I moved the commands from the Dockerfile to the entrypoint.php file.

@jonnitto jonnitto linked a pull request Jul 11, 2023 that will close this issue
@ptomulik
Copy link

Hi, seems that @v2.3.0 worked for me. Thanks!

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 a pull request may close this issue.

3 participants