Skip to content

Display link to open unfinished logs in browser #40

@bb1950328

Description

@bb1950328

Currently, the message for unfinished runs is:

Logs are unavailable - either the workflow run is not finished (currently GitHub API returns 404 for logs for unfinished runs)
or the url is incorrect. The log url: https://api.github.com/repos/user/repo/actions/runs/123456789/logs

A link to view the log in the browser instead would be useful. The conversion is very simple:
https://api.github.com/repos/{user}/{repo}/actions/runs/{runNumber}/logs
becomes
https://github.com/{user}/{repo}/actions/runs/{runNumber}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions