You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My ~/.gitconfig file on my laptop is actually a symlink to a file that's managed in my dotfiles repository. I've been doing some local development and tried using my Mac laptop as a runner. More or less works alright. When the checkout job tries to move a symlink into the working directory, it breaks.
Copying '/Users/natalie/.gitconfig' to '/Users/natalie/actions-runner/_work/_temp/ae6dedec-eb27-4878-834d-b00a2ed61f25/.gitconfig'
Temporarily overriding HOME='/Users/natalie/actions-runner/_work/_temp/ae6dedec-eb27-4878-834d-b00a2ed61f25' 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 /Users/natalie/actions-runner/_work/kubernoodles/kubernoodles
Error: error: could not lock config file /Users/natalie/actions-runner/_work/_temp/ae6dedec-eb27-4878-834d-b00a2ed61f[25](https://github.com/some-natalie/kubernoodles/actions/runs/8838270646/job/24269180087#step:2:27)/.gitconfig: No such file or directory
Failed to initialize safe directory with error: Error: The process '/usr/bin/git' failed with exit code 255
Removing the symlink and copying the file from the dotfiles repository into ~/.gitconfig fixes this.
Seems like unexpected behavior given that using a dotfiles repository isn't uncommon. ✨
The text was updated successfully, but these errors were encountered:
My
~/.gitconfig
file on my laptop is actually a symlink to a file that's managed in my dotfiles repository. I've been doing some local development and tried using my Mac laptop as a runner. More or less works alright. When the checkout job tries to move a symlink into the working directory, it breaks.Here's the error (source workflow run):
Removing the symlink and copying the file from the dotfiles repository into
~/.gitconfig
fixes this.Seems like unexpected behavior given that using a dotfiles repository isn't uncommon. ✨
The text was updated successfully, but these errors were encountered: