1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Update Actions job context example to include check_run_id (#40670)

Co-authored-by: Sharra-writes <sharra-writes@github.com>
This commit is contained in:
Yukai Chou
2025-10-04 02:13:06 +08:00
committed by GitHub
parent 23809c4313
commit 30c55f3839

View File

@@ -378,11 +378,12 @@ The `job` context contains information about the currently running job.
### Example contents of the `job` context
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.
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.
```json
{
"status": "success",
{% ifversion fpt or ghec %}"check_run_id": 51725241954,{% endif %}
"container": {
"network": "github_network_53269bd575974817b43f4733536b200c"
},