Skip to content

Commit 7e643eb

Browse files
authored
Merge pull request #23363 from github/repo-sync
repo sync
2 parents 046de16 + 269794d commit 7e643eb

2 files changed

Lines changed: 4 additions & 4 deletions

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

content/actions/publishing-packages/publishing-nodejs-packages.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
with:
7979
node-version: '12.x'
8080
registry-url: 'https://registry.npmjs.org'
81-
- run: npm install
81+
- run: npm ci
8282
- run: npm publish
8383
env:
8484
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -142,7 +142,7 @@ jobs:
142142
registry-url: 'https://npm.pkg.github.com'
143143
# Defaults to the user or organization that owns the workflow file
144144
scope: '@octocat'
145-
- run: npm install
145+
- run: npm ci
146146
- run: npm publish
147147
env:
148148
NODE_AUTH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
@@ -224,7 +224,7 @@ jobs:
224224
with:
225225
node-version: '10.x'
226226
registry-url: 'https://registry.npmjs.org'
227-
- run: npm install
227+
- run: npm ci
228228
# Publish to npm
229229
- run: npm publish --access public
230230
env:{% raw %}

0 commit comments

Comments
 (0)