From fb5c3b580003aa2954e95b5bd7777eb3bf8b7c3e Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 25 Mar 2026 16:08:11 +0000 Subject: [PATCH] ci: restore depot runners (#23611) This commit reverts the previous changes to CI jobs affected by disk space issues on depot runners. --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e845c57875..cdc127dfe4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1081,7 +1081,7 @@ jobs: needs: - changes if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork - runs-on: ubuntu-latest-16-cores + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04' }} permissions: # Necessary to push docker images to ghcr.io. packages: write diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 44ebad21e1..0e06cf2549 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,7 +34,7 @@ env: jobs: # Only allow maintainers/admins to release. check-perms: - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} steps: - name: Allow only maintainers/admins uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -61,7 +61,7 @@ jobs: release: name: Build and publish needs: [check-perms] - runs-on: ubuntu-latest-16-cores + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} permissions: # Required to publish a release contents: write