1
0
mirror of synced 2026-01-01 18:05:46 -05:00

Merge branch 'main' into repo-sync

This commit is contained in:
Octomerger Bot
2022-03-30 08:25:33 -07:00
committed by GitHub
4 changed files with 4 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ runs:
```
{% endraw %}
This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you must declare the input using `inputs` and pass the input in the `args` keyword.
This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you should declare the input using `inputs` and pass the input in the `args` keyword. Everything you include in `args` is passed to the container, but for better discoverability for users of your action, we recommended using inputs.
{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.

View File

@@ -91,6 +91,7 @@ Your access token will require the following scope:
- For private repositories, use an access token with the [`repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
- For public repositories, use an access token with the [`public_repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
- For organizations, use an access token with the [`admin:org` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
To authenticate using a {% data variables.product.prodname_dotcom %} App, it must be assigned the following permissions:
- For repositories, assign the `administration` permission.

View File

@@ -309,7 +309,7 @@ jobs:
::add-mask::{value}
```
Masking a value prevents a string or variable from being printed in the log. Each masked word separated by whitespace is replaced with the `*` character. You can use an environment variable or string for the mask's `value`.
Masking a value prevents a string or variable from being printed in the log. Each masked word separated by whitespace is replaced with the `*` character. You can use an environment variable or string for the mask's `value`. When you mask a value, it is treated as a secret and will be redacted on the runner. For example, after you mask a value, you won't be able to set that value as an output.
### Example: Masking a string

View File

@@ -34,5 +34,5 @@ jobs:
if: {% raw %} ${{ github.event.inputs.print_tags == 'true' }} {% endraw %}
steps:
- name: Print the input tag to STDOUT
run: echo {% raw %} The tag is ${{ github.event.inputs.tag }} {% endraw %}
run: echo {% raw %} The tags are ${{ github.event.inputs.tags }} {% endraw %}
```