From 92b810c8d6e357695afba1e6b6e2cce7f70d0cc8 Mon Sep 17 00:00:00 2001 From: Isaac Shalom <106052177+thesnowrose@users.noreply.github.com> Date: Tue, 25 Oct 2022 21:51:04 -0400 Subject: [PATCH] Add clarification about default `run-name` in Actions (#31946) Co-authored-by: Lucas Costi --- .../using-workflows/workflow-syntax-for-github-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/using-workflows/workflow-syntax-for-github-actions.md b/content/actions/using-workflows/workflow-syntax-for-github-actions.md index 5c778a85ca..4969f6b53e 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -32,7 +32,7 @@ The name of your workflow. {% data variables.product.prodname_dotcom %} displays {% ifversion actions-run-name %} ## `run-name` -The name for workflow runs generated from the workflow. {% data variables.product.prodname_dotcom %} displays the workflow run name in the list of workflow runs on your repository's "Actions" tab. If you omit `run-name`, the run name is set to event-specific information for the workflow run. For example, for a workflow triggered by a `push` or `pull_request` event, it is set as the commit message. +The name for workflow runs generated from the workflow. {% data variables.product.prodname_dotcom %} displays the workflow run name in the list of workflow runs on your repository's "Actions" tab. If `run-name` is omitted or is only whitespace, then the run name is set to event-specific information for the workflow run. For example, for a workflow triggered by a `push` or `pull_request` event, it is set as the commit message. This value can include expressions and can reference the [`github`](/actions/learn-github-actions/contexts#github-context) and [`inputs`](/actions/learn-github-actions/contexts#inputs-context) contexts.