From 0548a2cc4073e7e6864c4fb37d9f74f0e44d28d9 Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Mon, 19 Oct 2020 12:34:30 +0100 Subject: [PATCH 1/2] Update events-that-trigger-workflows.md --- content/actions/reference/events-that-trigger-workflows.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index 279e7c34c526..1fc81c2e42c2 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -110,11 +110,11 @@ on: inputs: name: description: 'Person to greet' - required: true + required: false default: 'Mona the Octocat' home: description: 'location' - required: false + required: true jobs: say_hello: From 6bfe64d723f1df182a54c6a01fa9b4d6864dc275 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Wed, 4 Nov 2020 15:19:22 +1000 Subject: [PATCH 2/2] Update workflow_dispatch example --- content/actions/reference/events-that-trigger-workflows.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index 1fc81c2e42c2..5ca5efb1a152 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -100,7 +100,7 @@ You can manually trigger a workflow run using the {% data variables.product.prod ##### Example workflow configuration -This example defines the `name` and `home` inputs and prints them using the `github.event.inputs.name` and `github.event.inputs.home` contexts. If a `name` isn't provided, the default value 'Mona the Octocat' is printed. +This example defines the `name` and `home` inputs and prints them using the `github.event.inputs.name` and `github.event.inputs.home` contexts. If a `home` isn't provided, the default value 'The Octoverse' is printed. {% raw %} ```yaml @@ -110,11 +110,12 @@ on: inputs: name: description: 'Person to greet' - required: false + required: true default: 'Mona the Octocat' home: description: 'location' - required: true + required: false + default: 'The Octoverse' jobs: say_hello: