Skip to content

CodeQL completed webhook check_run.output.summary includes relative link #1093

Open
@MichaelUrman

Description

@MichaelUrman

In the webhook sent for the CodeQL check_run completion, the check_run.output.summary includes a markdown link similar to [View all branch alerts](/{org}/{repo}/security/code-scanning?query=pr%3A{number}+tool%3ACodeQL+is%3Aopen). (The curly-braced text has been replaced in the actual payload.) Since I view this outside of github.com, the link is not useful. Opening the flawed link, then replacing the resulting host with github.com gets me to the right place. Can this link be updated to include a proper host?

(Apologies if this is the wrong location for this report; it's unclear where to report what's probably an oversight in the "GitHub Code Scanning" app. I see this from a GitHub-hosted repo that uses a typical github/codeql-action/{init,analyze}@v1 setup and sends webhook updates including for check_run.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions