The job ID (not to be confused with the higher-level run ID) has not been directly accessible in the past. Issue at https://github.com/orgs/community/discussions/8945
Github added support for the job ID here: https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates/#identify-running-jobs-with-job-check-run-id-in-github-actions-contexts
This can replace some hacky lookup stuff in shared-actions, like
|
const this_job = jobs.find((job) => { |
The job ID (not to be confused with the higher-level run ID) has not been directly accessible in the past. Issue at https://github.com/orgs/community/discussions/8945
Github added support for the job ID here: https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates/#identify-running-jobs-with-job-check-run-id-in-github-actions-contexts
This can replace some hacky lookup stuff in shared-actions, like
shared-actions/telemetry-impls/github-actions-job-info/action.yml
Line 68 in 457299e