1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Add annotations to workflow examples for automating builds and tests (#39064)

Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
Joe Clark
2023-08-25 09:56:23 -07:00
committed by GitHub
parent 29d954b0c1
commit 944eb9da89
11 changed files with 79 additions and 79 deletions

View File

@@ -25,7 +25,7 @@ You must store workflow files in the `.github/workflows` directory of your repos
## `name`
The name of your workflow. {% data variables.product.prodname_dotcom %} displays the names of your workflows on your repository's "Actions" tab. If you omit `name`, {% data variables.product.prodname_dotcom %} sets it to the workflow file path relative to the root of the repository.
{% data reusables.actions.workflows.workflow-syntax-name %}
{% ifversion actions-run-name %}
@@ -236,7 +236,7 @@ The value of this parameter is a string specifying the data type of the input. T
### Setting the `GITHUB_TOKEN` permissions for all jobs in a workflow
You can specify `permissions` at the top level of a workflow, so that the setting applies to all jobs in the workflow.
You can specify `permissions` at the top level of a workflow, so that the setting applies to all jobs in the workflow.
#### Example: Setting the `GITHUB_TOKEN` permissions for an entire workflow