動画の容量と保存 · 参考資料確認日 2026年10月29日
GitHub Actions artifactの保存枠と保持期間を見分ける
GitHub ProでActionsとPackagesの両方を使うと、公式の保存枠表に異なる数値が現れます。Actions artifactの表の値と、混在時に確認すべき請求・使用量を分けて判断しましょう。
Actions artifactの表と共有枠の不一致を分ける
GitHub Actions artifactのincluded storage表では、GitHub Freeは500 MB、Proは1 GB、組織のFreeは500 MB、Teamは2 GB、Enterprise Cloudは50 GBです。ここでの「Proは1 GB」はActions artifactの表に載る値です。GitHubはActions artifact storageとPackages storageが共有されるとも説明しています。Git LFS、Releases、Gitデータ、cacheの枠をこの数値と同一視しないでください。
一方、GitHub Packagesのincluded storage表ではProが2 GBと表示され、こちらもActionsとの共有が説明されています。参照した二つの公式案内ではProの数値が一致しないため、ActionsとPackagesを混在させた場合の正確な共有included storageの閾値は確定できません。Actions表の1 GBもPackages表の2 GBも、そのまま混在時の上限として断定しないでください。
artifactの既定retentionは90 daysです。公開repositoryの設定範囲は1~90 days、private/internalは1~400 daysですが、組織・enterpriseのpolicyでさらに短く制限される場合があります。upload-artifactは1 jobあたり最大500 artifactsで、作成後のartifactはimmutableです。overwriteは既存artifactを削除して新しいidentityのartifactを作ります。
使用量とretention設定を別々に確認する
GitHub ProでActionsとPackagesを併用しているなら、現在のbilling / usage表示で両方の使用量と適用中の請求状態を確認してください。保存料金は時間ごとの使用量で積算されます。artifactを削除すると今後の保存量は減りますが、すでに積算された使用量は消えません。
artifactが早く消える場合はrepositoryのretention設定と組織・enterpriseのpolicyを確認します。同名の出力を再利用するjobでは、作成後のartifactを変更できないことと、overwriteによる削除・新規作成を前提にしてください。
GitHubの2026年10月1日の適用開始告知によると、github.comではchecks、workflow runs、commit statusesもartifact・logと同じretention設定の対象です。GitHub Actions以外のアプリが作成したchecks・statusesも含め、設定された保持期間を超えた記録は自動削除の対象になります。
保持期間の設定変更は、変更後に作成されるchecks、workflow runs、commit statuses、artifacts、logsにのみ適用され、既存の記録には遡及しないとGitHub Docsは説明しています。repositoryの実際の設定と組織・enterpriseによる制限を確認してください。保持期間を延ばしても削除済みデータは復元されません。個別repositoryでの削除実行はこの記事では実測していません。
参考資料
- GitHub Docs — Product usage included
https://docs.github.com/en/billing/reference/product-usage-included
確認日:2026-10-29
Actions・Packagesのincluded storage表。
- GitHub Docs — Actions billing
https://docs.github.com/en/billing/concepts/product-billing/github-actions
確認日:2026-10-29
Actions保存容量の共有枠と時間ごとの積算。
- GitHub Docs — Repository Actions settings
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository
確認日:2026-10-29
保持期間と設定変更の非遡及。
- GitHub actions/upload-artifact README
https://github.com/actions/upload-artifact
確認日:2026-10-29
artifactのimmutable、overwrite、1 job最大500。
- GitHub Docs — Packages billing
https://docs.github.com/en/billing/concepts/product-billing/github-packages
確認日:2026-10-29
Packagesの共有枠とProの表示値。
- GitHub Changelog — retention scope
https://github.blog/changelog/2026-10-01-actions-retention-now-covers-checks-runs-and-statuses/
確認日:2026-10-29
checks・runs・statusesへの保持ポリシー拡張。