diff --git a/content/actions/using-workflows/manually-running-a-workflow.md b/content/actions/using-workflows/manually-running-a-workflow.md index 0a78d59bd418..59c02a561b4c 100644 --- a/content/actions/using-workflows/manually-running-a-workflow.md +++ b/content/actions/using-workflows/manually-running-a-workflow.md @@ -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.