Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 1bd37b0

Browse files
committed
edit 14_create-metadata1
1 parent beb0f1d commit 1bd37b0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

responses/14_create-metadata.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ We will use the `joke-output`, as well as an issue title, in in this portion of
3434
3. Next, add a `description` parameter and give it a value of `"consume the output of the previous Action and create a new issue in the repository"`
3535
4. Create an `inputs:` with an id of `joke:` and add a `description:` of `"This will become the body of the created issue"`
3636
5. Create another `inputs:` with an id of `issue-title:` and a `description:` of `"Every issue needs a title, it's nice to supply one, even though you could do this dynamically within your code"`
37-
6. Give the `issue-title:` a `default:` value of `"a joke for you"`
37+
6. Give the `issue-title:` a `default:` value of `"a joke for you"` and make it a `required:` parameter
3838
7. Lastly, define the `run` parameter to use `"node12"` to execute the `"main.js"`
3939
8. Save the `action.yml` file
4040
9. commit the changes:
@@ -58,6 +58,7 @@ inputs:
5858
issue-title:
5959
description: "Every issue needs a title, it's nice to supply one, even though you could do this dynamically within your code"
6060
default: "a joke for you"
61+
required: true
6162
6263
runs:
6364
using: "node12"

0 commit comments

Comments
 (0)