From a48897a70836a7246855bdd898cc404457a645f6 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Sat, 19 Oct 2024 14:21:46 -0700 Subject: [PATCH] Include ssh keys for submodules --- .github/workflows/codeql.yml | 1 + .github/workflows/test-build.yml | 2 ++ .github/workflows/test-verific.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 24ae7c89883..7f64fb1c878 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v4 with: submodules: true + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 95af300c9aa..1c1163a0f7d 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -46,6 +46,7 @@ jobs: uses: actions/checkout@v4 with: submodules: true + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Setup environment uses: ./.github/actions/setup-build-env @@ -204,6 +205,7 @@ jobs: uses: actions/checkout@v4 with: submodules: true + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Runtime environment run: | diff --git a/.github/workflows/test-verific.yml b/.github/workflows/test-verific.yml index 98b05e8ddb8..f96ba1d5ab8 100644 --- a/.github/workflows/test-verific.yml +++ b/.github/workflows/test-verific.yml @@ -27,6 +27,7 @@ jobs: with: persist-credentials: false submodules: true + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Runtime environment run: | echo "procs=$(nproc)" >> $GITHUB_ENV