actions / actions/runner

GITHUB_JOB is inconsistent with the job name used in GH's API

Open
#852 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

If I have a workflow defined like the below:

jobs:
  foo:
    name: bar

GITHUB_JOB will be foo, however, pretty much everywhere else (e.g. listing check runs and the GitHub UI) will refer to the display name, in the above case: bar

Related: https://github.com/actions/toolkit/issues/616

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the workflow shown in the issue with a job key of foo and display name bar. Compare GITHUB_JOB with the job name returned by the linked check-runs API and shown in the GitHub UI. Done means the runner's job identifier is consistent with the intended naming convention across these surfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.