From 06b69617302a869db2a69326ecf048129b1ddd60 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Tue, 9 Apr 2024 01:57:17 +0800 Subject: [PATCH] Update default `run-name` triggered by `pull_request` event (#32267) Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com> --- .../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 df0d2f9f6f..5433ad9fe5 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -30,7 +30,7 @@ You must store workflow files in the `.github/workflows` directory of your repos ## `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 `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. +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 or the title of the pull request. 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.