Skip to content

Commit ac2f8e6

Browse files
authored
Merge pull request #11261 from github/repo-sync
repo sync
2 parents f9294db + 8b8de88 commit ac2f8e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/actions/learn-github-actions/workflow-syntax-for-github-actions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,12 @@ If you need to find the unique identifier of a job running in a workflow run, yo
373373

374374
## `jobs.<job_id>`
375375

376-
Each job must have an id to associate with the job. The key `job_id` is a string and its value is a map of the job's configuration data. You must replace `<job_id>` with a string that is unique to the `jobs` object. The `<job_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.
376+
Create an identifier for your job by giving it a unique name. The key `job_id` is a string and its value is a map of the job's configuration data. You must replace `<job_id>` with a string that is unique to the `jobs` object. The `<job_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.
377377

378378
### Example
379379

380+
In this example, two jobs have been created, and their `job_id` values are `my_first_job` and `my_second_job`.
381+
380382
```yaml
381383
jobs:
382384
my_first_job:

0 commit comments

Comments
 (0)