depot-github-runners
Skill này làm gì
Skill này hướng dẫn AI chạy các job GitHub Actions trên máy do Depot quản lý. Nó dành cho lập trình viên muốn dùng runner khác mà không phải viết lại workflow.
Khi nào nên dùng
- ✓Khi bạn muốn các job GitHub Actions chạy trên Depot thay vì runner do GitHub cung cấp.
- ✓Khi bạn cần chọn kích thước runner, hoặc runner ARM, Windows hay macOS.
- ✓Khi một job chạy trên runner Depot bị lỗi và bạn cần giúp sửa thiết lập.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-github-runners/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chuyển job build GitHub Actions của tôi sang runner Depot và chọn kích thước phù hợp với một bản build nặng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đổi nhãn runs-on trong file workflow, thường đây là thay đổi duy nhất cần làm. Sau đó, agent giúp chọn kích thước và kiểm tra thiết lập, chẳng hạn quyền sở hữu tổ chức và quy tắc mạng đi ra ngoài.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Depot GitHub Actions Runners
Depot provides managed, ephemeral, single-tenant GitHub Actions runners. Drop-in replacement for GitHub-hosted runners — change the runs-on label and everything else stays the same.
Requirement: Repository must be owned by a GitHub organization (not a personal account).
<!-- PostHog-local section. Keep it when resyncing from upstream; see UPSTREAM.md. -->Depot runners are not Depot CI
Depot runners keep GitHub Actions as the engine, so the workflow lives in .github/workflows/ and the checks still come from the github-actions app.
Depot CI is a different product. It reads .depot/workflows/, which GitHub Actions ignores, and posts its own check runs from one of three Depot apps.
Use the depot-ci skill for that one.
Its references/posthog-check-run-semantics.md compares what each engine reports for a skipped, empty-matrix or continue-on-error job, and how GitHub and the Trunk merge queue score those conclusions.
Setup
- Depot dashboard → GitHub Actions → Connect to GitHub → Install Depot GitHub App
- For public repos: GitHub org settings → Actions → Runner groups → Default → "Allow public repositories"
- Update
runs-onin your workflow files
Org Context Check for Multi-Org Users
If a user belongs to multiple organizations and expected repos/settings/runners are not visible, verify Depot org context first:
depot org show # Current org ID
depot org list # Orgs the user belongs to
depot org switch <org-id> # Optional: set default org
For commands that support it, pass --org <org-id> to target the org where the workflow/repo lives.
Runner Labels
Use a single label. Format: depot-{os}-{version}[-{arch}][-{size}]
Ubuntu (x86, AMD)
| Label | CPUs | RAM | Disk | $/min | Minutes multiplier |
|---|---|---|---|---|---|
depot-ubuntu-24.04 |
2 | 8 GB | 100 GB | $0.006 | 1x |
depot-ubuntu-24.04-4 |
4 | 16 GB | 130 GB | $0.012 | 2x |
depot-ubuntu-24.04-8 |
8 | 32 GB | 150 GB | $0.024 | 4x |
depot-ubuntu-24.04-16 |
16 | 64 GB | 180 GB | $0.048 | 8x |
depot-ubuntu-24.04-32 |
32 | 128 GB | 200 GB | $0.096 | 16x |
depot-ubuntu-24.04-64 |
64 | 256 GB | 250 GB | $0.192 | 32x |
The minutes multiplier is the billing driver: billed minutes = elapsed minutes × multiplier, so larger runners consume your included minutes faster.
Ubuntu 22.04 also available: depot-ubuntu-22.04, depot-ubuntu-22.04-4, etc.
Ubuntu (ARM — Graviton4)
Same sizes and pricing as Intel. Add -arm suffix:
depot-ubuntu-24.04-arm, depot-ubuntu-24.04-arm-4, depot-ubuntu-24.04-arm-8, etc.
Windows Server
| Label | CPUs | RAM | $/min | Minutes multiplier |
|---|---|---|---|---|
depot-windows-2025 |
2 | 8 GB | $0.008 | 2x |
depot-windows-2025-4 |
4 | 16 GB | $0.016 | 4x |
depot-windows-2025-8 through -64 |
8–64 | 32–256 GB | $0.032–$0.256 | 8x–64x |
Windows Server 2022 also available: depot-windows-2022, etc.
Windows limitation: No Hyper-V (AWS EC2 limitation), so Docker workloads that require it are unlikely to work.
macOS (Apple M2 on macOS 14/15, M4 on macOS 26)
| Label | CPUs | RAM | Disk | $/min |
|---|---|---|---|---|
depot-macos-26 / depot-macos-latest |
8 | 24 GB | 400 GB | $0.08 |
depot-macos-15 |
8 | 24 GB | 400 GB | $0.08 |
depot-macos-14 |
8 | 24 GB | 400 GB | $0.08 |
macOS is NOT fully elastic — fixed pool with FIFO queuing.
Aliases
depot-ubuntu-latest → Ubuntu 24.04, depot-windows-latest → Windows 2025, depot-macos-latest → macOS 26
Migration Example
jobs:
build:
# Before:
# runs-on: ubuntu-latest
# After:
runs-on: depot-ubuntu-24.04-4
steps:
- uses: actions/chec
Câu hỏi thường gặp
Kho mã cần có điều kiện gì?
Skill nói rằng kho mã phải thuộc một tổ chức GitHub, không phải tài khoản cá nhân.
Phần còn lại của workflow có cần thay đổi không?
Không. Skill nói rằng thường chỉ cần đổi nhãn runs-on.
Skill có bao gồm quy tắc mạng không?
Có. Skill hướng dẫn cấu hình bộ lọc egress cho runner Depot.
Chi tiết
Mô tả gốc của tác giả
Configures Depot-managed GitHub Actions runners as a drop-in replacement for GitHub-hosted runners. Use when setting up or migrating GitHub Actions workflows to use Depot runners, choosing runner sizes (CPU/RAM), configuring runs-on labels, setting up ARM or Windows or macOS runners, troubleshooting GitHub Actions runner issues, configuring egress filtering, using Depot Cache with GitHub Actions, or running Dagger/Dependabot on Depot runners. Also use when the user mentions depot-ubuntu, depot-windows, depot-macos runner labels, or asks about faster/cheaper GitHub Actions runners. Not for Depo
repo: PostHog/posthog
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6812
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
formatting-slack-messages
41kGiúp agent của bạn tạo tin nhắn, modal và màn hình chính trên Slack rõ ràng, đúng bố cục, và kiểm tra theo quy tắc hiện hành của Slack.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.