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
I'm trying to run this actions on an EC2 hosted runner and I'm getting the following error:
Prepare git configuration
/usr/bin/git config --global --name-only --get-regexp safe.directory /actions-runner/_work/dbt-source-layer/dbt-source-layer
fatal: $HOME not set
/usr/bin/git config --global --add safe.directory /actions-runner/_work/dbt-source-layer/dbt-source-layer
fatal: $HOME not set
Error: The process '/usr/bin/git' failed with exit code 128
I'm using a PAT with all the necessary scopes on the repo.
Am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
The solution described won't work in this case. I think you need to run the EC2 instance as a user, not root. The root user doesn't have a $HOME directory, according to the blog post linked in that answer.
Subject of the issue
I'm trying to run this actions on an EC2 hosted runner and I'm getting the following error:
I'm using a PAT with all the necessary scopes on the repo.
Am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: