-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support for ssh remote workflows (and actions) or using git config #1588
Comments
a workaround for this is to manually checkout the repo, then checkout the ref. git clone https://github.com/{{org}}/{{repo}} ~/.cache/act/{{org}-{{repo}}-.github-workflows-{{workflow_filename}}@{{ ref | replace("/", "-")}}/
cd ~/.cache/act/{{org}-{{repo}}-.github-workflows-{{workflow_filename}}.yaml@{{ ref | replace("/", "-")}}/
git checkout {{ref}} |
I noticed this is lacking for remote actions as well that require SSH. The workaround does not work for the remote actions. |
By the way, why does not EDIT: My bad, I just had to do |
It returns:
|
Act version
act version 0.2.40-14-g932863b
Feature description
I'm using a build from
master
that contains the new feature for remote workflows. The remote workflows are hard coded to use HTTPS, and I need SSH support.act/pkg/runner/reusable_workflow.go
Line 109 in 82a8c1e
Normally I would use the
insteadOf
config to fix this but it didn't seem to work.However, if I manually clone it, the
insteadOf
config works fine. I noticed the clone is not run in a container, so I'm not sure if it is otherwise ignoring the global git config.The text was updated successfully, but these errors were encountered: