-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to hide status message when no automerge label (#757)
- Add option to hide status message on PR's until automerge label has been added, closes #747 (option defaults to `true`, so no breaking change) - Make the missing automerge label message a little more friendly (see #747 (comment)) - Add tests for new option and fix other tests I've tested this via a self hosted Kodiak instance: First scenario: 1. Create a PR (don't add automerge label) 2. Verify the correct message (`Ignored (no automerge label: ...`) is shown on PR Second scenario: 1. Set `missing_automerge_label_message` to `false` 2. Create a PR (don't add automerge label) 3. Verify **no** message (`Ignored (no automerge label: ...`) is shown on PR Third scenario (addressing #747 (comment)): 1. Set `missing_automerge_label_message` to `false` 2. Create a PR (**add** automerge label) 3. Verify the correct message (`merging PR (waiting for status checks ...`) is shown on PR 4. Remove automerge label before checks have been finished 5. Verify the correct message (`Ignored (no automerge label: ...`) is shown on PR
- Loading branch information
Showing
6 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters