1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Files
docs/translations/de-DE/content/actions/managing-workflow-runs/disabling-and-enabling-a-workflow.md
Chiedo John 2bee5b994f Crowdin translations (translation-batch-160285210) (#16087)
* New Crowdin translations by Github Action

* Remove bad translations

* Remove broken translations

* Remove more broken files

* Remove broken translation

* Remove broken translations

* Remove broken translations

* Add english versions of broken translations

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-10-16 10:26:58 -07:00

2.6 KiB

title, intro, product, versions
title intro product versions
Disabling and enabling a workflow You can disable and re-enable a workflow using {% data variables.product.prodname_dotcom %} or the REST API. {% data reusables.gated-features.actions %}
free-pro-team enterprise-server
* >=2.23

{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}

Disabling a workflow allows you to stop a workflow from being triggered without having to delete the file from the repo. You can easily re-enable the workflow again on {% data variables.product.prodname_dotcom %}. You can also disable and enable a workflow using the REST API. For more information, see the "Actions REST API."

Temporarily disabling a workflow can be useful in many scenarios. These are a few examples where disabling a workflow might be helpful:

  • A workflow error that produces too many or wrong requests, impacting external services negatively.
  • A workflow that is not critical and is consuming too many minutes on your account.
  • A workflow that sends requests to a service that is down.
  • Workflows on a forked repository that aren't needed (for example, scheduled workflows).

{% warning %}

Warning: {% data reusables.actions.scheduled-workflows-disabled %}

{% endwarning %}

Disabling a workflow

You can manually disable a workflow so that it won't execute any workflow runs. A disabled workflow is not deleted, and can be re-enabled.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %}

  1. In the left sidebar, click the workflow you want to disable. Aktionen auswählen Workflow
  2. Click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}. actions kebab menu
  3. Click Disable workflow. actions disable workflow The disabled workflow is marked {% octicon "stop" aria-label="The stop icon" %} to indicate its status. actions list disabled workflow

Enabling a workflow

You can re-enable a workflow that was previously disabled.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %}

  1. In the left sidebar, click the workflow you want to enable. actions select disabled workflow
  2. Click Enable workflow. actions enable workflow