Skip to content

[AutoPR] TODO this depends on the filename of the event jso ... #125

Open
@github-actions

Description

@github-actions

TODO this depends on the filename of the event json, which is not ideal

token="",
repo_name="",
owner="",
repo=Repo(repo_dir),
)
# TODO this depends on the filename of the event json, which is not ideal
if "cron" in event:
event_name = "schedule"
elif "push" in event:
event_name = "push"
else:

When resolving this TODO, consider finding a more robust and flexible way to handle the dependency on the filename of the event JSON. Look for alternative ways to identify or retrieve the necessary information, such as using metadata or other attributes associated with the event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions