Skip to content

Incorrect apply error message for unsigned commits #2584

Open
@dannyrife

Description

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

chart version: 4.0.5 and image version v0.19.6
Trying an atlantis apply via github comment failed with error "Apply Failed: Pull request must be approved by at least one person other than the author before running apply." This message was incorrect because the PR was correctly reviewed, but the repo required signed commit messages, there error stopping merge was

Merging is blocked: The base branch requires all commits to be signed. Learn more about signing commits.

seems like it hits

return "Pull request must be approved by at least one person other than the author before running apply.", nil

The message about the PR not being mergeable would have been better since it would prompt the user to look at why it wasn't mergeable.

Reproduction Steps

chart version: 4.0.5 and image version v0.19.6
Create a repo with a .CODEOWNERS setup and requiring verified signed commits for merging. Create a PR that requires atlantis changes but without signing the commit. Attempt to do an atlantis apply.

Environment details

chart version: 4.0.5 and image version v0.19.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedGood feature for contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions