google / google/copybara

getting "--filter can only be used when extensions.partialClone is set" error while using sparse-checkout

Open
#238 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

here is my step:
- name : Checks-out repository
uses: actions/checkout@v3
with:
repository: 'fpe-products/fw-fwcode'
ref: 'dev'
ssh-key: ${{ inputs.myKey }}
path: '${{ github.workspace }}\fw-release\spa\'
sparse-checkout: SystemCfgsDefaults

Output:
Error: fatal: --filter can only be used when extensions.partialClone is set
The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128
Waiting 14 seconds before trying again

I also tried to run 'git config extensions.partialClone true' prior the checkout step with no success (It seems that the repo root folder is cleaned on the checkout step)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.