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 lines16171819202131 unmodified lines53545556575815 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up Pythonuses: actions/setup-python@v5with:31 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up Pythonuses: actions/setup-python@v5with:15 unmodified lines161718192021222324252631 unmodified lines585960616263646566676815 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up SSH key for private reposuses: webfactory/ssh-agent@v0.9.0with:ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}- name: Set up Pythonuses: actions/setup-python@v5with:31 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up SSH key for private reposuses: webfactory/ssh-agent@v0.9.0with:ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}- name: Set up Pythonuses: actions/setup-python@v5with:
24 unmodified lines25262728293024 unmodified lines55565758596024 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up Docker Buildxuses: docker/setup-buildx-action@v324 unmodified linespush: ${{ github.event_name != 'pull_request' }}tags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}cache-from: type=ghacache-to: type=gha,mode=maxsecret-files: |24 unmodified lines252627282930313233343524 unmodified lines6061626364656624 unmodified lines- name: Checkout codeuses: actions/checkout@v4- name: Set up SSH key for private reposuses: webfactory/ssh-agent@v0.9.0with:ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}- name: Set up Docker Buildxuses: docker/setup-buildx-action@v324 unmodified linespush: ${{ github.event_name != 'pull_request' }}tags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}ssh: defaultcache-from: type=ghacache-to: type=gha,mode=maxsecret-files: |
21 unmodified lines22232425262721 unmodified lineswith:fetch-depth: 0 # Full history for better coverage reports- name: Set up Python ${{ matrix.python-version }}uses: actions/setup-python@v5with:21 unmodified lines222324252627282930313221 unmodified lineswith:fetch-depth: 0 # Full history for better coverage reports- name: Set up SSH key for private reposuses: webfactory/ssh-agent@v0.9.0with:ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}- name: Set up Python ${{ matrix.python-version }}uses: actions/setup-python@v5with:
.github/workflows/code-quality.yml+10
.github/workflows/docker.yml+6
.github/workflows/tests.yml+5