Does using a CodeBuild self-hosted runner (runs-on: codebuild-...) incur any GitHub Actions minutes cost? #199635
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaActions Runner Discussion DetailsBody: Hi all, I'm running GitHub Actions jobs on AWS CodeBuild-hosted self-hosted runners, and I'd like to confirm how billing works on the GitHub side. My setup:
My questions:
Thanks in advance for any clarification! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
hey @Syota622 👋 . on your second question ,,, here's the breakdown of what github-side costs actually remain even with self-hosted runners :
so for a private repo with self-hosted runners and no artifacts / packages being stored,,youre genuinely looking at $0 github-side cost,,,,,,the only spend is purely on the aws side for codebuild compute. worth double-checking your usage page at github.com/settings/billing just to visually confirm 0 minutes are accruing for these jobs specifically💙💙 . |
Beta Was this translation helpful? Give feedback.
-
|
good instinct to want an authoritative source rather than just taking my word for it,,,the references you found are exactly the right ones actually
the confusion you're seeing from ai assistants /third-party articles is likely one of these :
so to directly confirm : the docs pages above are accurate and current,,,,self-hosted runner compute time is genuinely $0 on the github side. trust those over generic ai-generated summaries, which can blend outdated or adjacent info without flagging the distinction 💙💙💙 |
Beta Was this translation helpful? Give feedback.
-
|
youre very welcome @Syota622💙💙💙glad it helped clear things up,,, good luck with the codebuild setup ! |
Beta Was this translation helpful? Give feedback.
hey @Syota622 👋 .
your understanding is correct,,,self-hosted runners(including the codebuild-backed ones via the
runs-on: codebuild-...pattern)are not billed as github actions minutes regardless of repo visibility.github only meters minutes for jobs running on github-hosted runners,,, the moment your job executes on infrastructure you provision (codebuild ,your own ec2 ,a local machine ,whatever),,github isnt charging for the compute time itself since its not their compute.on your second question ,,, here's the breakdown of what github-side costs actually remain even with self-hosted runners :