Skip to content

Include link in github-pr-review output #90

@jrobison-sb

Description

@jrobison-sb

When I run tflint --chdir=path/to/my/module/ --format=checkstyle using vanilla tflint (outside the context of this GitHub Action, and outside the context of ReviewDog), I can get output like this which includes a link to the tflint docs so I can fix whatever it complains about:

    <error source="terraform_unused_declarations" line="844" column="1" severity="warning" message="variable &#34;unused_variable&#34; is declared but not used" link="https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.8.0/docs/rules/terraform_unused_declarations.md" rule="terraform_unused_declarations"></error>

But when I see the same error using this GitHub Action and using reporter: github-pr-review, it includes no such link.

image

It would be nicer if the link was included in the PR comment so the person could be pointed towards whatever they need to do to fix their mistake.

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