Skip to content

[BUG]: runner and runner group details should be falsey in workflow_job.queued payload #1020

Description

@andy-crain-kr

What happened?

Hi,
I noticed that runner and runner group fields (runner id and name, runner group id and name) are set for workflow_job.queued, when they should not be. For queued this information is not yet known, and so in actual payloads, these fields are empty/0, e.g.

"runner_id":0
"runner_name":""
"runner_group_id":0
"runner_group_name":""

But here, they are incorrectly set to values:

    "runner_id": 5,
    "runner_name": "GitHub Actions 5",
    "runner_group_id": 2,
    "runner_group_name": "GitHub Actions",

Thanks

Versions

https://github.com/octokit/webhooks/releases/tag/v7.6.1

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status
    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions