Skip to content

Custom workflow run commands comment twice on PRs when command returns an error #519

@kipkoan

Description

@kipkoan

We have added a custom run step to the workflow. When the command is successful (return code 0), Atlantis adds the output of the command once to the PR comment.

But when the command fails (return code != 0), Atlantis adds the output of the command twice to the PR comment.

Screenshot:
image

Expected: Atlantis only adds the output of the command once to the PR, whether it was successful (return code = 0) or not (return code != 0).

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