Skip to content

Commit 6ae3636

Browse files
vinnybodclaude
andcommitted
Fix CI Docker builds failing on public repo
The SSH agent setup step was conditional on the sponsors repo, but the Docker builds unconditionally require SSH_AUTH_SOCK to be set. Start the SSH agent on both repos - private keys are only loaded when the CI_SSH_KEY_BOT secret is available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8907f85 commit 6ae3636

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ jobs:
102102
with:
103103
submodules: 'recursive'
104104
token: ${{ secrets.RELEASE_TOKEN }}
105-
- name: Set up SSH (sponsors only)
106-
if: ${{ endswith(github.repository, 'Empire-Sponsors') }}
105+
- name: Set up SSH
107106
run: |
108107
eval "$(ssh-agent -s)"
109108
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
@@ -143,8 +142,7 @@ jobs:
143142
with:
144143
submodules: 'recursive'
145144
depth: 0
146-
- name: Set up SSH (sponsors only)
147-
if: ${{ endswith(github.repository, 'Empire-Sponsors') }}
145+
- name: Set up SSH
148146
run: |
149147
eval "$(ssh-agent -s)"
150148
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV

0 commit comments

Comments
 (0)