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

feat: case insensitive pr comments #3361

Merged

Conversation

xafardero
Copy link
Contributor

@xafardero xafardero commented Apr 29, 2023

what

Lowercase the first 2 args of the comments in a PR when parsing it, so that Atlantis Plan will be valid for example.

why

Some users have issues writing commands to Atlantis via PR (mainly autocorrect), this PR tries to solve it and make the Atlantis use via PR more smoothly.

tests

  • I have tested my changes by running the make test
  • I have tested my changes by creating a dummy project

references

@xafardero xafardero force-pushed the basic-case-insensitive-for-pr-comments branch from 3f08cfa to 8dd89af Compare April 29, 2023 22:54
@xafardero xafardero force-pushed the basic-case-insensitive-for-pr-comments branch from 63f7108 to fc8310c Compare April 30, 2023 10:15
@xafardero xafardero force-pushed the basic-case-insensitive-for-pr-comments branch from fc8310c to eb04363 Compare April 30, 2023 16:13
@xafardero xafardero marked this pull request as ready for review April 30, 2023 16:13
@xafardero xafardero requested a review from a team as a code owner April 30, 2023 16:14
@github-actions github-actions bot added the go Pull requests that update Go code label Apr 30, 2023
@xafardero xafardero requested a review from nitrocode May 2, 2023 10:23
@nitrocode nitrocode changed the title feat: Case insensitive for pr comments. feat: case insensitive pr comments May 4, 2023
@nitrocode nitrocode added this to the v0.23.6 milestone May 4, 2023
@nitrocode nitrocode merged commit 9295fab into runatlantis:main May 4, 2023
@xafardero xafardero deleted the basic-case-insensitive-for-pr-comments branch May 4, 2023 19:59
@GenPage GenPage modified the milestones: v0.23.6, v0.24.0 May 6, 2023
mtavaresmedeiros pushed a commit to mtavaresmedeiros/atlantis that referenced this pull request Jul 3, 2023
* Basic case insensitive for pr comments.

* Add test for uppercase/lowercase case.

* Merge test functions that check similar behaviors.

---------

Co-authored-by: nitrocode <[email protected]>
Co-authored-by: PePe Amengual <[email protected]>
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* Basic case insensitive for pr comments.

* Add test for uppercase/lowercase case.

* Merge test functions that check similar behaviors.

---------

Co-authored-by: nitrocode <[email protected]>
Co-authored-by: PePe Amengual <[email protected]>
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* Basic case insensitive for pr comments.

* Add test for uppercase/lowercase case.

* Merge test functions that check similar behaviors.

---------

Co-authored-by: nitrocode <[email protected]>
Co-authored-by: PePe Amengual <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Case insensitive pr comments commands like Atlantis Plan
4 participants