Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kipkoan opened this issue Mar 6, 2019 · 0 comments · Fixed by #619
Closed

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

kipkoan opened this issue Mar 6, 2019 · 0 comments · Fixed by #619
Labels
bug Something isn't working

Comments

@kipkoan
Copy link
Contributor

kipkoan commented Mar 6, 2019

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).

@lkysow lkysow added the bug Something isn't working label Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants