From 02a1738ec36368786c8adb9809b28eb515c72b8c Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Thu, 10 Oct 2024 22:47:57 +0000 Subject: [PATCH] create dir for known hosts --- .github/workflows/rocm_copybara.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rocm_copybara.yaml b/.github/workflows/rocm_copybara.yaml index 566bbef84b2b..75fb28f26567 100644 --- a/.github/workflows/rocm_copybara.yaml +++ b/.github/workflows/rocm_copybara.yaml @@ -13,6 +13,7 @@ jobs: with: fetch-depth: 0 - run: | + mkdir -p ~/.ssh ssh-keyscan github.com >> ~/.ssh/known_hosts - run: | docker run -t --rm -v$HOME/.ssh:/root/.ssh -v $HOME/.git-credentials:/root/.git-credentials -v $GITHUB_WORKSPACE/copy.bara.sky:/data/copy.bara.sky -e COPYBARA_CONFIG=/data/copy.bara.sky sharelatex/copybara bash -c "git config --global user.name jaxbara; git config --global user.email jaxbara@amd.com; copybara"