From ffae225c2bec69aab5ed4b5eaa3c2d5e33d99368 Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Mon, 2 Feb 2026 16:11:59 +0000 Subject: [PATCH] Fix CI failure for Dependabot PRs by skipping SSH agent Dependabot PRs don't have access to repository secrets for security reasons. Since the SSH key isn't needed for CI tasks (all dependencies are public), skip the ssh-agent step when the actor is dependabot[bot]. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4775d3f..c00c194 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: - name: Checkout uses: actions/checkout@v6 - name: Setup SSH Agent + if: github.actor != 'dependabot[bot]' uses: webfactory/ssh-agent@v0.9.1 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}