Skip to content

Telemetry: simplify GitHub job ID finding #77

Description

@msarahan

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) => {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImproves an existing functionalitynon-breakingIntroduces a non-breaking change

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions