Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Windows runner: ssh cannot resolve submodule hostname #148

Open
@audricschiltknecht

Description

@audricschiltknecht

Hello,

I've setup an action for a private repository with (private) submodules. I'm using the deploy keys with comments as per the docs.

Everything works fine on theubuntu-latest runner but when I switch towindows-latest it seems thatssh is not using the proper hostname and instead use the one including the keyname, resulting in an obvious "Name not known" error:

   17:58:32.064475 run-command.c:655       trace: run_command: unset GIT_CONFIG_PARAMETERS GIT_DIR; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@key-<SHA>.github.com 'git-upload-pack '\''<ORG>/<SUBMODULE>'\'''  Cloning into 'D:/a/<REPO>/<REPO>/<SUBMODULE>'...  ssh: Could not resolve hostname key-<SHA>.github.com: Name or service not known  Error: fatal: Could not read from remote repository.

This seems a bit weird as I haven't seen anyone mentioning that problem in the issues, so I'm wondering if it could be a config problem instead?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp