actions_billing_usage
Overview
Name | actions_billing_usage |
Type | Resource |
Id | github.billing.actions_billing_usage |
Fields
Name | Datatype | Description |
---|---|---|
included_minutes | integer | The amount of free GitHub Actions minutes available. |
minutes_used_breakdown | object | |
total_minutes_used | integer | The sum of the free and paid GitHub Actions minutes used. |
total_paid_minutes_used | integer | The total paid GitHub Actions minutes used. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_github_actions_billing_org | SELECT | org | Gets the summary of the free and paid GitHub Actions minutes used. Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions". Access tokens must have the repo or admin:org scope. |
get_github_actions_billing_user | SELECT | username | Gets the summary of the free and paid GitHub Actions minutes used. Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions". Access tokens must have the user scope. |