本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)41k · #6812

depot-github-runners

できること

このスキルは、AIエージェントが GitHub Actions のジョブを Depot の管理マシンで実行する流れを案内します。ワークフローを書き換えずに別のランナーを使いたい開発者向けです。

使う場面

  • ✓GitHub Actionsのジョブを、GitHub提供のランナーではなくDepotで実行したいとき。
  • ✓ARM、Windows、macOSのランナーや、ランナーのサイズを選ぶ必要があるとき。
  • ✓Depotのランナーのジョブが失敗し、設定の修正が必要なとき。

スキルのリンク

https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-github-runners/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-github-runners/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ビルドジョブをDepotのランナーに切り替え、重いビルドに合うサイズを選んでください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ワークフローファイルの runs-on のラベルを変更します。通常はこの変更だけで済みます。その後、サイズの選択と、組織の所有やegressルールなどの設定確認を手伝います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

<!-- End PostHog-local section. -->

Setup

  1. Depot dashboard → GitHub Actions → Connect to GitHub → Install Depot GitHub App
  2. For public repos: GitHub org settings → Actions → Runner groups → Default → "Allow public repositories"
  3. Update runs-on in 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
よくある質問

リポジトリには何が必要ですか?

個人アカウントではなく、GitHubの組織が所有するリポジトリである必要があるとスキルは説明しています。

ワークフローの他の部分も変更が必要ですか?

いいえ。runs-onのラベルを変えるだけで済む場合が多いとスキルは説明しています。

ネットワークのルールも扱いますか?

はい。Depotのランナーで egress フィルタリングを設定する方法も扱います。

詳細

作者による元の説明

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

人気

GitHubのスター
41k
ランキング
#6812
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル