Skip to content

fix: use git clone instead of actions/checkout for sibling repos#1609

Merged
wenytang-ms merged 1 commit intomainfrom
fix/e2e-use-git-clone
Apr 21, 2026
Merged

fix: use git clone instead of actions/checkout for sibling repos#1609
wenytang-ms merged 1 commit intomainfrom
fix/e2e-use-git-clone

Conversation

@wenytang-ms
Copy link
Copy Markdown
Contributor

actions/checkout@v4 rejects paths outside the repository root
(error: 'Repository path is not under ...'), so checking out
vscode-java and eclipse.jdt.ls as siblings with path: ../repo fails.

Replace with 'git clone --depth 1' which has no path restriction,
correctly placing repos as siblings so test plan relative paths
(../../vscode-java/...) resolve properly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wenytang-ms wenytang-ms merged commit f5c1bc5 into main Apr 21, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants