-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/merge request hooks behavior (#1319)
* Rename Action closed to close: State - closed, Action - close * Fix logic for close and closed MR * Fix logic for update action into MR and flag never we set it on 1st place because the more important type of hook than flag approved or not. Also update action often came with opened state. * Update tests * Fix merge handler tests with never rebuild feature Signed-off-by: Brady Pratt <bpratt@redhat.com> --------- Signed-off-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Yaraslau Supanitski <yaraslau_supanitski@epam.com> Co-authored-by: Bruno Verachten <gounthar@gmail.com> Co-authored-by: Kris Stern <krisstern@outlook.com>
- Loading branch information
1 parent
ef3356d
commit 8ec69c7
Showing
3 changed files
with
43 additions
and
10 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