Skip to content

Commit 30c55f3

Browse files
Update Actions job context example to include check_run_id (#40670)
Co-authored-by: Sharra-writes <sharra-writes@github.com>
1 parent 23809c4 commit 30c55f3

File tree

1 file changed

+2
-1
lines changed
  • content/actions/reference/workflows-and-actions

1 file changed

+2
-1
lines changed

content/actions/reference/workflows-and-actions/contexts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,12 @@ The `job` context contains information about the currently running job.
378378

379379
### Example contents of the `job` context
380380

381-
This example `job` context uses a PostgreSQL service container with mapped ports. If there are no containers or service containers used in a job, the `job` context only contains the `status` property.
381+
This example `job` context uses a PostgreSQL service container with mapped ports. If there are no containers or service containers used in a job, the `job` context only contains the `status` and `check_run_id` properties.
382382

383383
```json
384384
{
385385
"status": "success",
386+
{% ifversion fpt or ghec %}"check_run_id": 51725241954,{% endif %}
386387
"container": {
387388
"network": "github_network_53269bd575974817b43f4733536b200c"
388389
},

0 commit comments

Comments
 (0)