Skip to content

Commit eafa6b8

Browse files
authored
Merge branch 'main' into skip-duplicate-action-without-http-errors
2 parents 27b2578 + cb4ac8f commit eafa6b8

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

content/actions/reference/workflow-commands-for-github-actions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@ core.setOutput('SELECTED_COLOR', 'green');
5353

5454
You can use the `set-output` command in your workflow to set the same value:
5555

56+
{% raw %}
5657
``` yaml
5758
- name: Set selected color
5859
run: echo '::set-output name=SELECTED_COLOR::green'
5960
id: random-color-generator
6061
- name: Get color
61-
run: echo 'The selected color is' ${steps.random-color-generator.outputs.SELECTED_COLOR}
62+
run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"
6263
```
64+
{% endraw %}
6365
6466
The following table shows which toolkit functions are available within a workflow:
6567

content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,16 @@ You can use `publishConfig` element in the *package.json* file to specify the re
101101
If your instance has subdomain isolation enabled:
102102
{% endif %}
103103
```shell
104-
"publishConfig": {
105-
"registry":"https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}"
106-
},
104+
"publishConfig": {
105+
"registry":"https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}"
106+
},
107107
```
108108
{% if currentVersion != "free-pro-team@latest" %}
109109
If your instance has subdomain isolation disabled:
110110
```shell
111-
"publishConfig": {
112-
"registry":"https://<em>HOSTNAME</em>/_registry/npm/"
113-
},
111+
"publishConfig": {
112+
"registry":"https://<em>HOSTNAME</em>/_registry/npm/"
113+
},
114114
```
115115
{% endif %}
116116
{% data reusables.package_registry.verify_repository_field %}
@@ -136,7 +136,7 @@ To ensure the repository's URL is correct, replace REPOSITORY with the name of t
136136
137137
You can install packages from {% data variables.product.prodname_registry %} by adding the packages as dependencies in the *package.json* file for your project. For more information on using a *package.json* in your project, see "[Working with package.json](https://docs.npmjs.com/getting-started/using-a-package.json)" in the npm documentation.
138138
139-
By default, you can add packages from one organization. For more information, see [Installing packages from other organizations](#installing-packages-from-other-organizations)
139+
By default, you can add packages from one organization. For more information, see "[Installing packages from other organizations](#installing-packages-from-other-organizations)."
140140
141141
You also need to add the *.npmrc* file to your project so all requests to install packages will go through {% data variables.product.prodname_registry %}. When you route all package requests through {% data variables.product.prodname_registry %}, you can use both scoped and unscoped packages from *npmjs.com*. For more information, see "[npm-scope](https://docs.npmjs.com/misc/scope)" in the npm documentation.
142142
@@ -173,7 +173,7 @@ If your instance has subdomain isolation enabled:
173173
{% endif %}
174174
175175
```shell
176-
registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}<em>OWNER</em>
176+
registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>{% endif %}/<em>OWNER</em>
177177
@<em>OWNER</em>:registry={% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}
178178
@<em>OWNER</em>:registry={% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}
179179
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% data variables.product.prodname_code_scanning_capc %} is available in public repositories, and in public and private repositories owned by organizations with a license for {% data variables.product.prodname_advanced_security %}. {% if currentVersion == "free-pro-team@latest" %}{% data reusables.gated-features.more-info %}{% endif %}
1+
{% data variables.product.prodname_code_scanning_capc %} is available {% if currentVersion == "free-pro-team@latest" %}in public repositories, and in private repositories owned by organizations with {% else %}if you have {% endif %}an {% data variables.product.prodname_advanced_security %} license. {% data reusables.gated-features.more-info %}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@github-docs/data-directory": "^1.2.0",
1717
"@github-docs/frontmatter": "^1.3.1",
1818
"@github-docs/render-content": "^5.0.0",
19-
"@github/rest-api-operations": "^3.1.1",
19+
"@github/rest-api-operations": "^3.1.3",
2020
"@octokit/rest": "^16.38.1",
2121
"@primer/css": "^15.1.0",
2222
"@primer/octicons": "^11.0.0",

0 commit comments

Comments
 (0)