Spaces:
Running on Zero
Running on Zero
Fix GitHub Actions workflows to handle SSH private repository access
Browse files- Add SSH key setup step to all workflows
- Configure Docker build to forward SSH agent
- Required for accessing private paladin repository dependency
Files changed (3)
15 unmodified lines161718192021222324252631 unmodified lines585960616263646566676815 unmodified lines - name: Checkout code uses: actions/checkout@v4
- name: Set up SSH key for private repos uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Python uses: actions/setup-python@v5 with:31 unmodified lines - name: Checkout code uses: actions/checkout@v4
- name: Set up SSH key for private repos uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Python uses: actions/setup-python@v5 with:24 unmodified lines252627282930313233343524 unmodified lines6061626364656624 unmodified lines - name: Checkout code uses: actions/checkout@v4
- name: Set up SSH key for private repos uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Docker Buildx uses: docker/setup-buildx-action@v3
24 unmodified lines push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} ssh: default cache-from: type=gha cache-to: type=gha,mode=max secret-files: |21 unmodified lines222324252627282930313221 unmodified lines with: fetch-depth: 0 # Full history for better coverage reports
- name: Set up SSH key for private repos uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with:.github/workflows/code-quality.yml+10
.github/workflows/docker.yml+6
.github/workflows/tests.yml+5