Skip to content

Commit 4710493

Browse files
authored
Change iconName to Optional (#12090)
1 parent 504a8c2 commit 4710493

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/actions/learn-github-actions/creating-workflow-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This procedure demonstrates how to create a workflow template and metadata file.
8686
```
8787
* `name` - **Required.** The name of the workflow template. This is displayed in the list of available templates.
8888
* `description` - **Required.** The description of the workflow template. This is displayed in the list of available templates.
89-
* `iconName` - **Required.** Defines an icon for the workflow's entry in the template list. The `iconName` must be an SVG icon of the same name, and must be stored in the `workflow-templates` directory. For example, a SVG file named `example-icon.svg` is referenced as `example-icon`.
89+
* `iconName` - **Optional.** Defines an icon for the workflow's entry in the template list. The `iconName` must be an SVG icon of the same name, and must be stored in the `workflow-templates` directory. For example, a SVG file named `example-icon.svg` is referenced as `example-icon`.
9090
* `categories` - **Optional.** Defines the language category of the workflow. When a user views the available templates, those templates that match the same language will feature more prominently. For information on the available language categories, see https://github.com/github/linguist/blob/master/lib/linguist/languages.yml.
9191
* `filePatterns` - **Optional.** Allows the template to be used if the user's repository has a file in its root directory that matches a defined regular expression.
9292

0 commit comments

Comments
 (0)