Informationen zur Abrechnung für GitHub Actions
GitHub Actions usage is free for both public repositories and self-hosted runners. Für private Repositorys erhält jedes GitHub Konto eine bestimmte Menge von kostenlosen Minuten und Speicher, abhängig vom Produkt, das mit dem Konto verwendet wird. Any usage beyond the included amounts is controlled by spending limits. Weitere Informationen findest Du unter „Informationen zur Abrechnung für GitHub Actions“.
Nutzungseinschränkungen
There are some limits on GitHub Actions usage when using GitHub-hosted runners. Die Einschränkungen können sich jederzeit ändern.
Note: For self-hosted runners, different usage limits apply. Weitere Informationen findest Du unter „Informationen zu selbst-gehosteten Runnern“.
-
Job execution time (Auftrags-Ausführungszeit) - Jeder Job in einem Workflow kann bis zu 6 Stunden Ausführungszeit laufen. Wenn ein Auftrag dieses Limit erreicht, wird der Auftrag beendet und kann nicht abgeschlossen werden.
-
Workflow run time (Workflow-Laufzeit) - Jede Workflow-Ausführung ist auf 72 Stunden begrenzt. Wenn eine Workflow-Ausführung diesen Grenzwert erreicht, wird die Workflow-Ausführung abgebrochen.
-
API requests (API Anfragen) - Pro Stunde kannst Du bis zu 1000 API-Anfragen über alle Aktionen innerhalb innerhalb eines Repository ausführen. Bei Überschreitung schlagen zusätzliche API-Aufrufe fehl, was dazu führen kann, dass Aufträge fehlschlagen.
-
Concurrent Jobs (parallele Aufträge) - Die Anzahl paralleler Aufträge, die Du in Ihrem Konto ausführen kannst, hängt von Deinem GitHub-Plan ab, wie in der folgenden Tabelle ersichtlich. Bei Überschreitung werden alle zusätzlichen Aufträge in die Warteschlange gestellt.
GitHub Plan Total parallele Aufträge Maximal parallele macOS-Aufträge Kostenlos 20 5 Pro 40 5 Team 60 5 Enterprise 180 50 -
Auftrags-Matrix - Eine Auftragsmatrix kann maximal 256 Aufträge pro Workflow-Ausführung generieren. Dieses Limit gilt auch für selbst-gehostete Läufer.
-
Workflow run queue - No more than 100 workflow runs can be queued in a 10 second interval per repository. If a workflow run reaches this limit, the workflow run is terminated and fails to complete.
Nutzungsrichtlinien
In addition to the usage limits, you must ensure that you use
GitHub Actions within the GitHub Terms of Service. Weitere Informationen zu GitHub Actions-spezifischen Bedingungen findest Du unter Zusätzliche Produktbedingungen für GitHub.
Artifact and log retention policy
You can configure the artifact and log retention period for your repository, organization, or enterprise account.
By default, the artifacts and log files generated by workflows are retained for 90 days before they are automatically deleted. You can adjust the retention period, depending on the type of repository:
- For public repositories: you can change this retention period to anywhere between 1 day or 90 days.
- For private, internal, and GitHub Enterprise repositories: you can change this retention period to anywhere between 1 day or 400 days.
When you customize the retention period, it only applies to new artifacts and log files, and does not retroactively apply to existing objects. For managed repositories and organizations, the maximum retention period cannot exceed the limit set by the managing organization or enterprise.
Weitere Informationen findest Du unter:
- Configuring the retention period for GitHub Actions for artifacts and logs in your repository
- Configuring the retention period for GitHub Actions for artifacts and logs in your organization
- Configuring the retention period for GitHub Actions for artifacts and logs in your enterprise
GitHub Actions für Dein Repository oder Deine Organisation deaktivieren oder beschränken
By default, GitHub Actions is enabled on all repositories and organizations. You can choose to disable GitHub Actions or limit them to private actions only, which means that people can only use actions that exist in your repository.
Weitere Informationen findest Du unter:
- "Disabling or limiting GitHub Actions for a repository"
- "Disabling or limiting GitHub Actions for your organization"
- "Enforcing GitHub Actions policies in your enterprise account" for GitHub Enterprise Cloud
Disabling and enabling workflows
You can enable and disable individual workflows in your repository on GitHub.
To prevent unnecessary workflow runs, scheduled workflows may be disabled automatically. When a public repository is forked, scheduled workflows are disabled by default. In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.
For more information, see "Disabling and enabling a workflow."