1
0
mirror of synced 2026-01-20 21:02:43 -05:00

Merge pull request #26291 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2023-06-27 14:59:20 -07:00
committed by GitHub

View File

@@ -15,7 +15,9 @@ redirect_from:
## Configuring a workflow to run manually
To run a workflow manually, the workflow must be configured to run on the `workflow_dispatch` event. To trigger the `workflow_dispatch` event, your workflow must be in the default branch. For more information about configuring the `workflow_dispatch` event, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)".
To run a workflow manually, the workflow must be configured to run on the `workflow_dispatch` event.
To trigger the `workflow_dispatch` event, your workflow must be in the default branch. For more information about configuring the `workflow_dispatch` event, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)."
{% data reusables.repositories.permissions-statement-write %}
@@ -32,7 +34,12 @@ To run a workflow manually, the workflow must be configured to run on the `workf
{%- else -%}
![Screenshot of the "Actions" page. Features apart from one workflow in the left sidebar are grayed out.](/assets/images/help/repository/actions-select-workflow.png)
{%- endif %}
1. Above the list of workflow runs, select **Run workflow**.
1. Above the list of workflow runs, click the **Run workflow** button.
{% note %}
**Note:** To see the **Run workflow** button, your workflow file must use the `workflow_dispatch` event trigger. Only workflow files that use the `workflow_dispatch` event trigger will have the option to run the workflow manually using the **Run workflow** button. For more information about configuring the `workflow_dispatch` event, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)."
{% endnote %}
![Screenshot of a workflow page. Above the list of workflow runs, a button, labeled "Run workflow", is outlined in dark orange.](/assets/images/help/actions/actions-workflow-dispatch.png)
1. Select the **Branch** dropdown menu and click a branch to run the workflow on.