Cannot update submodule on self-hosted runner using SSH
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
I have a self-hosted runner on windows server. It is running as a default service, username: Network Service. While configuring the runner, I selected all default options.
I have a repository with one submodule in it.
The runner fails while updating the submodule in the main repository.
runs-on: self-hosted
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
ssh-key: ${{ secrets.KEY }}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the workflow using actions/checkout@v2 on the Windows self-hosted runner configured as Network Service, and reproduce the failure with submodules: true and ssh-key. Compare the runner's SSH and submodule behavior with a successful checkout; done means the submodule updates over SSH in this configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100