Skip to content

Add new DYNAMIC event to GHEvent enum #2150

@kkroner8451

Description

@kkroner8451

GitHub now has a new event of "dynamic" on workflow runs. I can't find any published docs, but looking at the data it appears to be dynamic runs of workflows for things like Dependabot, etc. The results is when GHWorkflowRun maps event field in getEvent() method to the GHEvent enum it ends up being UNKNOWN and logs a warning in the EnumUtils class that the value is unknown. DYNAMIC should be added to the GHEvent enum to minimize log warnings and add clarity for known (even if not published) possible values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions