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

fix: Support case insensitive digger commands #369

Closed
wants to merge 2 commits into from
Closed

fix: Support case insensitive digger commands #369

wants to merge 2 commits into from

Conversation

SamantaTarun
Copy link

closes #344

Issue Description:

Requested by user:

Digger commentOps currently only work with exact lowercase "digger plan", "digger apply" etc.

Digger should be able to also support case insensitve commands such as "Digger plan" and so on since it is more forgiving.

Proposal: make digger case insensitive by default, allow users to make it case sensitive through some parameter passed into composite action case-sensitve (defaults to false)

Copy link
Contributor

@motatoes motatoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also make the change in gitlab flow:

if strings.Contains(gitLabContext.DiggerCommand, command) {

@SamantaTarun SamantaTarun requested a review from motatoes June 15, 2023 10:02
@veziak veziak closed this Jun 15, 2023
@SamantaTarun SamantaTarun deleted the tarun_samanta/#344 branch June 15, 2023 17:26
@SamantaTarun SamantaTarun restored the tarun_samanta/#344 branch June 15, 2023 17:27
@SamantaTarun
Copy link
Author

@veziak next time you should see the assignees of an issue before opening a PR. i was assigned and worked on it. why did you open a PR then?

@veziak
Copy link
Contributor

veziak commented Jun 16, 2023

Hi @tarunsamanta2k20 , apologies! I should have communicated it better. We wanted that feature to be included into the release we created yesterday and it was easier to create a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support case insensitive digger commands
3 participants