Skip to content

ci: run jobs without long-lived credentials on Depot - #35

Open
houko wants to merge 1 commit into
mainfrom
ci/depot-runners
Open

houko wants to merge 1 commit into
mainfrom
ci/depot-runners

Conversation

@houko

@houko houko commented Oct 26, 2026

Copy link
Copy Markdown
Member

Why

The organization's GitHub-hosted runners are capped at 20 concurrent jobs shared by every repository (Windows, Linux and macOS alike). On 2026-10-27 a single burst of pushes queued 8 jobs behind 19 running ones while Depot runners sat mostly idle. Jobs that do not need anything GitHub-hosted runners uniquely provide now run on Depot.

Rule

A job stays on a GitHub-hosted runner only if it references a long-lived secret (anything other than the per-run GITHUB_TOKEN), requests an OIDC token, needs hardware Depot lacks, or is the Win7 toolchain build. Everything else moves to Depot: depot-ubuntu-24.04 for quick checks, -4 for CodeQL, -8 for builds, depot-windows-2025-8 and depot-macos-15. Matrix jobs keep their os values (they appear in required check names) and map them to Depot labels in runs-on.

Changes

  • audit-repositories.yml: depot-ubuntu-24.04
  • audit-repositories.yml: depot-ubuntu-24.04
  • codeql.yml: depot-ubuntu-24.04-4
  • docs.yml: depot-ubuntu-24.04
  • quality.yml: depot-ubuntu-24.04
  • quality.yml: depot-ubuntu-24.04
  • .github/actionlint.yaml: register the Depot labels so actionlint accepts them.

Verification

actionlint passes locally. This PR's own checks run on the Depot labels, which also confirms the repository is connected to Depot; jobs that only run on release, schedule or dispatch are exercised the next time they trigger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant