diff --git a/.github/actions/prepare-rtl/action.yml b/.github/actions/prepare-rtl/action.yml index 74a040371e..3285187ad4 100644 --- a/.github/actions/prepare-rtl/action.yml +++ b/.github/actions/prepare-rtl/action.yml @@ -29,7 +29,9 @@ runs: sims/firesim/sim generators/gemmini/software/gemmini-rocc-tests key: ${{ inputs.group-key }}-${{ github.sha }} - + - uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.SATURN_SECRET }} - name: Run RTL build if not cached run: | conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }} diff --git a/.github/workflows/chipyard-full-flow.yml b/.github/workflows/chipyard-full-flow.yml index 50d0704d00..fa6418b198 100644 --- a/.github/workflows/chipyard-full-flow.yml +++ b/.github/workflows/chipyard-full-flow.yml @@ -77,6 +77,9 @@ jobs: - name: Setup repo copy run: | git clone $GITHUB_WORKSPACE ${{ env.REMOTE_WORK_DIR }} + - uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.SATURN_SECRET }} - name: Setup repo run: | cd ${{ env.REMOTE_WORK_DIR }} diff --git a/.github/workflows/chipyard-run-tests.yml b/.github/workflows/chipyard-run-tests.yml index 6c0e1e14b4..e174d7a40f 100644 --- a/.github/workflows/chipyard-run-tests.yml +++ b/.github/workflows/chipyard-run-tests.yml @@ -115,8 +115,13 @@ jobs: - name: Create conda env uses: ./.github/actions/create-conda-env - name: Check commits of each submodule + uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.SATURN_SECRET }} run: | conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools + eval 'ssh-agent -s' + ssh-add - <<< "${{ secrets.SATURN_SECRET }}" .github/scripts/check-commit.sh documentation-check: