vcs_command_alias
should be set to ""
when vcs_pr_comments_enabled
is disabled
#964
Labels
bug
Something isn't working
Describe the bug
In a way while this could be a backend bug, the RnD team has asked to file this with the Provider.
When
vcs_pr_comments_enabled
is disabled; and the vcs_command_alias is still set - the environment service still thinks that the vcs_pr_comments is enabled and configured. Therefore it generates a "summary" in the git PRTo Reproduce
Create an environment with the provider; set vcs_command_alias="foo" and vcs_pr_comments_enabled=true
Then set
vcs_pr_comments_enabled=false
Create a PR.
you'll see a pr_comment "header / summary" in the PR.
Expected behavior
PR Comment header or summary should not be created/added.
Provider Version
1.20.12
Screenshots
![image](https://private-user-images.githubusercontent.com/2107354/378539194-145d3fb4-7733-4272-baa6-05f53f47ff6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTQwMjQsIm5iZiI6MTczOTE5MzcyNCwicGF0aCI6Ii8yMTA3MzU0LzM3ODUzOTE5NC0xNDVkM2ZiNC03NzMzLTQyNzItYmFhNi0wNWY1M2Y0N2ZmNmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTMyMjA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzY0Zjg0OWRiMzI2MDVhOTcxMzBlODQyNjczNmZlM2JlMzA4ZDk4YzNmYjVjYTdjY2Q1NWRkOGQzM2M5YzRkZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.rnnF02hvfvQWdQBABp0sMZV4jDB_JQmvc7j8YHQ_obM)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: