Skip to content

Failed to checkout submodule #271

Open
@yinonov

Description

@yinonov

Trying to checkout a repo with single submodule in it.

  • both repos are part of the same organization
  • both repos are private
  • organization requires sso and ssh keys to access repos

the workflow fails at the following

steps:
  - name: Checkout
     uses: actions/checkout@v2
     with:
       ref: develop
       ssh-key: ${{ secrets.SSH_KEY }}
       submodules: true 

the failure message

Load key "/home/runner/work/_temp/dc2e5ba9-c8ee-424c-a39b-a15919ec6f72": invalid format
git@github.com: Permission denied (publickey).
##[error]fatal: Could not read from remote repository.

Not sure if I miss coded the flow, but it's unclear why I'm not able to access the remote repo with the SSH_KEY

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